SSL Configuration Help Please....
hakucho Feb 27, 2002 12:59 AMDear All,
I'm an SSL newbie and would like some help please. I'm trying to configure JBoss 2.4.4 + Tomcat 4.0.1 to use SSL on port 443 while continuing to service normal HTTP requests on port 80. After reading various threads on this site, I have done the following:
What I've Done
(1) used keytool.exe to create a keystore file called ".keystore", and saved this in my JBoss\bin directory. The file has the alias "tomcat" and both passwords are "hello1".
(2) added the following sections to my jboss.jcml file:
<!-- ==================================================================== -->
<!-- SSL Security Domain (added by AS on 27/2/02) -->
<!-- ==================================================================== -->
.keystore
hello1
<!-- ==================================================================== -->
<!-- EmbeddedCatalinaServiceSX (added by AS on 27/2/02) -->
<!-- ==================================================================== -->
80
443
The Problem
When I start JBoss, I get a bunch of errors, this being the first one:
[INFO,tomcat] Starting
[ERROR,ConfigurationService] Unexpected error
java.security.NoSuchAlgorithmException: Algorithm SunX509 not available
at com.sun.net.ssl.b.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.KeyManagerFactory.getInstance([DashoPro-V1.2-120198])
at org.jboss.security.plugins.JaasSecurityDomain.start(JaasSecurityDomain.java:98)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
at $Proxy0.start(Unknown Source)
at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.Main.(Main.java:208)
at org.jboss.Main$1.run(Main.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:106)
Any ideas please? I have searched these forums for the SunX509 error message, but no luck.
Thanks,
Andrew