Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XMLHTTP and Certificates

Status
Not open for further replies.

jerin

Programmer
Nov 11, 2005
1
IN
I am using XMLHTTP to post an XML to a servlet and it works fine when the connection is not secure. When I change the servlet URL to a secured one ( https ) which requires certificate, it fails to make the connection. Anyone know how to use certificate along with XMLHTTP? I have the client certificate in my local drive.

Thanks
Jerin
 
If you browse to the Servlet in your browser, do you get a security warning? If you do then the XMLHTTP object will fail when it tries to connect. You have to make sure that your certificate is trusted by the client and that there isn't a problem with the certificate.

Phil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top