2 Replies Latest reply on May 6, 2003 7:02 AM by andrzejros

    configuring the truststore

    bartvh

      Is there any way to configure a truststore for SSL on JBoss-Tomcat with the Coyote connector? I do not want to add CA certificates to the default cacerts in the java directory.

      The only solution I currently found is to play with the javax.net.ssl.trustStore system properties (see http://java.sun.com/j2se/1.4.1/docs/guide/security/jsse/JSSERefGuide.html#CustomizingStores).

        • 1. Re: configuring the truststore
          andrzejros

          add this to run.conf (in jboss> 3.2.0)

          JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/java/cacerts -Djavax.net.ssl.trustStorePassword=changeit"

          or in Your startup script

          • 2. Re: configuring the truststore
            andrzejros

            simply add to run.conf or startup script:

            JAVA_OPTS="-Djavax.net.ssl.trustStore=/opt/java/security/cacerts -Djavax.net.ssl.trustStorePassword=
            changeit"

            should work or get jboss sourcess and recompile startup.jar with given environment ;)