WebService on https

P

priyanka_s

I have a webservice setup for which I want to use client certificates. I installed a Web-Server certificate on my web server. I then generated and
installed a client-certificate for my web browser.My web browser can now connect to the web service, and the web service recieves the client
certificate.

Trying to consume a webservice through aspx page over SSL with Client Certificate and getting below error.

[WebException: The request failed with HTTP status 403: Access Forbidden.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream) +1130
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +216




**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
J

Jan Tielens

Are you connection from a web app?

If you are connection from an ASPX (wep app) to your web service, then you
are probably using the ASPNET account to connect to the web service. So you
have to make sure that the ASPNET account also has acces to the client
certificate!

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan


Priyanka Shivaram said:
I have a webservice setup for which I want to use client certificates. I
installed a Web-Server certificate on my web server. I then generated and
installed a client-certificate for my web browser.My web browser can now
connect to the web service, and the web service recieves the client
certificate.

Trying to consume a webservice through aspx page over SSL with Client
Certificate and getting below error.
[WebException: The request failed with HTTP status 403: Access Forbidden.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClient
Message message, WebResponse response, Stream responseStream) +1130
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +216
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top