Problem Accessing web service over SSL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Siddharth

    Problem Accessing web service over SSL

    Hi all,

    I have been trying to access a web service over HHTPS but have not been
    successful. The client has provided us with a pfx file that is password
    protected. I successfully exported the certificate to .cer format.

    My code is using WSE to access the web service. I basically load the
    certificate from the personal store and attach it to the web service proxy
    object. However, I keep getting the error: "The underlying connection was
    closed. Could not establish secure channel for SSL/TLS." The certificate has
    been given the necessary aspnet permissions and I can even access its various
    properties from my code.

    Any help regarding this matter will be highly appreciated. I am using .Net
    Framework 1.1 SP1 on a XP box. The client's WS is written in java and worked
    fine before they enabled SSL. I am guessing the problem has to do with the
    private key that probably does not get exported to .cer format.
    --
    Siddharth Aggarwal
Working...