axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven La Corte <slaco...@ozengineering.com>
Subject SSL client keystore
Date Mon, 22 Oct 2007 13:01:49 GMT
   YAHOO.Shortcuts.hasSensitiveText = true; YAHOO.Shortcuts.sensitivityType = ["adult"]; YAHOO.Shortcuts.doUlt
= false; YAHOO.Shortcuts.location = "us"; YAHOO.Shortcuts.lang = "us"; YAHOO.Shortcuts.document_id
= 0; YAHOO.Shortcuts.document_type = ""; YAHOO.Shortcuts.document_title = ""; YAHOO.Shortcuts.document_publish_date
= ""; YAHOO.Shortcuts.document_author = ""; YAHOO.Shortcuts.document_url = ""; YAHOO.Shortcuts.document_tags
= ""; YAHOO.Shortcuts.annotationSet = { "lw_1193057957_0": { "text": "javax.net.ssl.ke", "extended":
0, "startchar": 573, "endchar": 581, "start": 573, "end": 581, "extendedFrom": "", "predictedCategory":
"", "predictionProbability": "0", "weight": 1, "type": ["shortcuts:/us/place/virtual/web_site"],
"category": ["IDENTIFIER"], "context": "if I set the System.properties javax.net.ssl.keyStore
to the server keystore javax.net.ssl.trustStore" }, "lw_1193057957_1": { "text": "javax.net.ssl.tr",
"extended": 0, "startchar": 620, "endchar": 628,
 "start": 620, "end": 628, "extendedFrom": "", "predictedCategory": "", "predictionProbability":
"0", "weight": 1, "type": ["shortcuts:/us/place/virtual/web_site"], "category": ["IDENTIFIER"],
"context": "javax.net.ssl.keyStore to the server keystore javax.net.ssl.trustStore to the
server keystore and" } };  YAHOO.Shortcuts.overlaySpaceId = "97546169";  YAHOO.Shortcuts.hostSpaceId
= "97546168";       I have create self signed certificates (using keytool) and keystores for
a test server and client. The client posts messages to the server through an AXIS-2 1.3 service
that is being served by Tomcat. The SSL port requires two way authentication. 
   
  The certificate for the client has been imported into the server keystore and the certificate
for the server has been imported into client keystore.
   
  The client can connect and receive from the server if I set the System.properties javax.net.ssl.keyStore
to the server keystore, javax.net.ssl.trustStore to the server keystore and the Keystore password.

   
  When I try to set the trustStore, keyStore and password properties to the client keystore,
I get a 'Bad certificate' exception. 
   
  I was able to create a PKS file from the client keystore and connect to the server using
Firefox. When I try to connect using IE, the session connects but a warning is displayed that
also indicates a 'Bad certificate'.
   
  Any thoughts. I really appreciate your help!
   
  Steve



Mime
View raw message