Ok,
I'm nearly there but not yet.....

I can ascertain what is in my keystore by doing:

$ keytool -list

Enter keystore password:  mypassword


  | Keystore type: jks
  | Keystore provider: SUN
  | 
  | Your keystore contains 1 entry
  | 
  | beyarecords.com, Dec 7, 2004, keyEntry,
  | Certificate fingerprint (MD5): 
32:44:5B:78:85:BA:BA:96:C1:CF:DF:A2:6A:0E:78:CB
  | 

I specify properties in jboss like so:


  | javax.net.ssl.keyStore=/library/java/home/lib/security/cacerts
  | javax.net.ssl.keyStorePassword=changeit
  | javax.net.ssl.keyStoreType= JKS
  | 

The error message I get back is:


  | sun.security.validator.ValidatorException: No trusted certificate found
  | 

If I say :


  | 
javax.net.ssl.keyStore=/library/java/home/lib/security/cacerts/beyarecords.com
  | javax.net.ssl.keyStorePassword=mypassword
  | 

I  get the following error:


  | java.net.SocketException: Default SSL context init failed: null
  | 

I am of the understanding that once a certificate has been imported into the 
keystore and associated via an alias(beyarecords.com) with a key 
(32:44:5B:78:85:BA:BA:96:C1:CF:DF:A2:6A:0E:78:CB) that it is then trusted? 
What am I missing here? Would it be helpfull if I posted the certificate just 
to verify from someone that the certificate is working properly?

regards

Andrew

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857867#3857867

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857867


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to