[jboss-user] [Security & JAAS/JBoss] - JBoss SSL

mno2go do-not-reply at jboss.com
Wed Sep 12 17:17:28 EDT 2007


Hello everyone,

I've been doing quite a thorough search on the Internet trying to figure out how to properly set up SSL with JBoss. I've come across various tutorials, some of which have been more helpful then others. In any case, at this stage, I followed these steps:

1. Create a self-signed cert and import it into keystore.
2. Set up the SSL config in server.xml

I used the following command to create the cert:

keytool -genkey -alias tc-ssl -keyalg RSA -keystore server.keystore -validity 3650

And generally followed the instructions here:

http://www.jboss.org/wiki/Wiki.jsp?page=SSLSetup

However, I am getting a weird error when loading JBoss:

SunX509 KeyManagerFactory not available

>From first thoughts, this seems that Jboss can't find the jsse.jar library, but I'm using IBM's JDK 1.5:

java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-20070201 (SR4))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20070201 (JIT enabled)
J9VM - 20070131_11312_lHdSMR
JIT  - 20070109_1805ifx1_r8
GC   - 200701_09)
JCL  - 20070126

Could this error be related to it being on IBM's JDK?

Here's my server.xml snippet:

      <Connector port="8443" address="${jboss.bind.address}"
  |            maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
  |            emptySessionPath="true"
  |            scheme="https" secure="true" clientAuth="false"
  |            keystoreFile="${jboss.server.home.dir}/conf/server.keystore"
  |            keystorePass="amis1234" sslProtocol="TLS" />

Any help would be greatly appreciated!
Thanks!

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

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



More information about the jboss-user mailing list