New ServerCertificateValidateEventHandler(Validate) Then you need to create Validatemethod that validates the certificate (ignores certificate chain and name mismatch errors). NET component.įirst you need to subscribe to ServerCertificateValidate event. Good news is that you can accept self-signed certificates using Ftp.dll FTP and FTPS. ![]() ![]() If you get “The remote certificate is invalid according to the validation procedure” exception while trying to establish SSL connection, most likely your server certificate is self-signed or you used incorrect host name to connect (Host name must match the name on certificate, for example and may point to the same server, but certificate is issued only to and this is the address you should use).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |