I am writing a SOAP request to a server which requires SSL. I receive this error when posting the request: error number -53 which means Open Timeout or Failure error - [SSL Error = 11]. I gather there is an SSL authentication issue.
We are connected to the host via a VPN. My counterpart at the host site said there is no cert key. But that we have to have the certs loaded to the keystore on the server. She provided 3 certificate files: 1 file with the URL.cer, RootCA.cer, and Chain.cer. She also said there is a root certificate, and an intermediate certificate, the Root certificate is required, at a minimum; however, depending on my system the URL cert may also need to be installed.
The following is my SSL code. However, I tried every permuation of the following settings that I can think of.
Web.SSL = 1
Web.SSLCertificateOptions.CertificateFile = ''
Web.SSLCertificateOptions.PrivateKeyFile = ''
Web.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName = 0
Web.SSLCertificateOptions.DontVerifyRemoteCertificateWithCARoot = 0
Web.SSLCertificateOptions.CARootFile = '.\RootCA.cer'
Any help would be greatly appreciated.