RE: Problem Accessing web service over SSL



I may have had something similar before. It seems that the SSL connection may
not get established if the XP box has the local security/encryption setting
for using "FIPS compliant encryption" set. I am currently on a 2000 box so I
can't recall exactly where it is...

"Siddharth" wrote:

> 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
.



Relevant Pages

  • Certificate 403 web response
    ... I have a web service doing a ssl connection to a website using ... ssl and a certificate that came to me in a p12 format. ... Dim wresResponse As HttpWebResponse ...
    (microsoft.public.dotnet.framework.webservices)
  • Problem Accessing web service over SSL
    ... successful. ... I successfully exported the certificate to .cer format. ... My code is using WSE to access the web service. ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Problem Accessing web service over SSL
    ... set a web reference to the web service using vs.net, I can see all the web ... It seems that the SSL connection may ... I successfully exported the certificate to .cer format. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: WSE 2.0 Policy security settings with multiple X.509 certifica
    ... Certificate Store Location is set to LocalMachine (for the Web Service ... "Trusted Client Certificates" is made from "Local Machine - Other People" ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Using Microsoft Certificate Server Programatically
    ... Client contacts server (web service) with encrypted registration ... The server issues the certificate (not sure how the web service ...
    (microsoft.public.platformsdk.security)

Quantcast