3 Replies Latest reply on Aug 21, 2015 12:23 PM by chrisvoo

    WildFly SSL conf

    jukka.sirvio

      Have similar problem like here:

      https://community.jboss.org/thread/205940?tstart=0

       

      We also have Geotrust RapidSSL wildcard certificate which I'm not able to get up and running inside Wildfly. Mentioned crt's (intermediate, wildcard and private) are imported to Java keystore and it should be ok? Self signed certificate, of course, works ok.

       

      Any ideas?

       

      -Jukka

        • 1. Re: WildFly SSL conf
          gkokaia

          It`s will help

          keytool -import -v -trustcacerts -storepass [keystorepassword] -alias primaryca -keystore [destkeystore]  -file  primary_inter.cer

          keytool -import -v -trustcacerts -storepass [keystorepassword] -alias secondaryca -keystore [destkeystore]  -file secondary_inter.cer

          openssl pkcs12 -export -in [certificate].crt -inkey [keyfile].key -CAfile intermediate.crt -name [name] -out keystore.p12

          keytool -importkeystore -deststorepass [keystorepassword] -destkeypass [keypassword] -destkeystore [destkeystore] -srckeystore keystore.p12 -srcstoretype PKCS12

          • 2. Re: WildFly SSL conf
            jukka.sirvio

            That did the trick, thank you!

            • 3. Re: WildFly SSL conf
              chrisvoo

              I tried your instructions and it works, but if I test the SSL installation with some tools, it seems that the intermediate certificate it's not recognized.

              Any ideas?