NetTalk FTP > FTP - Ask For Help
FTP Error -69 - The SSL Remote Certificate Failed Verification
Ubaidullah:
Hi Bruce,
When connecting to an FTP server using Explicit SSL over port 21, I am getting the following error:
The error number was -69 which means The SSL Remote Certificate Failed Verification.
Command = user
I thought it might be due to CARoot.pem being old, so I downloaded the latest from Mozilla but the error still persists.
I am able to connect to this same server using Total Commander without any issue, so the issue seems to be from my side.
I will appreciate your guidance on how to resolve this.
Thanks.
Bruce:
I'd need to see the connection to be sure.
Send me the name of the server. (I don't need a login.)
cheers
Bruce
Ubaidullah:
The server is at: b2bmft.cat.com
Regards,
Ubaidullah Nubar.
Bruce:
so the certificate common name does not match the server name you are using. So set;
FtpControl.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName = 1
FtpData.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName = 1
Cheers
Bruce
Ubaidullah:
I am still getting the same error.
I placed the code you suggested before the call to thisFtpControl.GetRemoteFile
thisFtpControl.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName = 1
thisFtpData.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName = 1
Any other suggestions to resolve this ?
Regards,
Ubaidullah Nubar.
Navigation
[0] Message Index
[#] Next page
Go to full version