Skip to content

SSL samples and ServerCertificateValidationCallback

George George

Asked Aug 6, 2008, 11:39 PM EDT2 answers
Share
LinkedInX

Hello everyone,


I have did quite a lot search but failed to fina how to using SSL (Https) to consume remote web services from client side and using ServerCertificateValidationCallback.

Does anyone have any documents or samples to make a reference?


thanks in advance,
George

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0

    use following steps:

    1. Install user certificate

    2. Dim certfile As System.Security.Cryptography.X509Certificates.X509Certificate
            certfile = System.Security.Cryptography.X509Certificates.X509Certificate.CreateFromCertFile(location of cer file)
            webserviceObject.ClientCertificates.Add(certfile)

     

    Hope these steps resolve your issue

    0
  • 0

    Thanks, what do you mean install certificate? At client side or server side? Install server certificate or client certificate? Install in IE?

     

    regards,

    George

    0