aspx_professional thread: Re: Calling a webservice over ssl from an aspx page.
> > I am unable to call a webservice from an aspx page using SSL. If I
> > call the asmx file from Internet Explorer 6 I can make a secure
> connection
> > to the webservice and invoke the methods without any problem.
> >
> > However, If I add the web reference to an ASP.NET project (making
sure
> to
> > specify https when I add the reference) I get the following error when
I
> > call any webmethod on the webservice:
> >
> > The underlying connection was closed: Could not establish trust
> > relationship with remote server.
> >
> > So what is IE 6 doing that allows it to connect to the webservice that
> > ASP.NET doesn't do. Is there some function I need to call or property
I
> > need to set?
> >
> > I found an example that used WebRequest and tried that. I still got
the
> > same error. The documentation stated that WebRequest will
automatically
> > use SSL when used with https. I am assuming, (perhaps wrongly) that
the
> > proxy generated on the https connection should work automatically as
> well.
> >
> > I also looked on GOOGLE, it looks like other people are also having
this
> > problem. I tried some of the suggestions that I found there but they
> did
> > not resolve the problem.
> >
> > I have tried adding the CA to the ClientCertificate collection on the
> > proxy generated for the webservice to no avail.
> >
> > Any suggestions, samples or white papers on this subject would be
> greatly
> > appreciated.
> >
> > Thanks,
> >
> > Chris Post
I am receiving the same error message - If you have any input, I will
really appreciate it.
Thanks