2 Replies Latest reply on Jul 25, 2012 9:24 AM by tarikx

    JBoss reload certificate truststore without restart

    tarikx

      hi,

       

      Please, is there a way to "reload" the certificate truststore in JBoss 7 without restart?

       

      Thanks

        • 1. Re: JBoss reload certificate truststore without restart
          peterj

          The certificate trust store is referenced by the system properties javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword. Within your code you can change those system properties, and then that trust store will be used the next time credentials are needed.

          • 2. Re: JBoss reload certificate truststore without restart
            tarikx

            Thanks for your reply,

             

            But the problem is still here, the server.keystore can't load new generated certificats. I think that i must add a function that relaod the keystore after generating new certificat by implementing  SecurityDomain, JaasSecurityDomainMBean interfaces !!!

             

            Do you have any idea ?

             

            Tks