2 Replies Latest reply on May 13, 2010 11:13 AM by igormonteiro

    Installing thawte SSL certificate in JBOSS 4

    sunlinux

      Hi Guys,

      Pls. guide me how to install SSL certificate in Jboss server, I have downloaded the certificate in server , but no idea how to configure it to get going ?

      Pls. guide

        • 1. Re: Installing thawte SSL certificate in JBOSS 4
          peterj
          • 2. Re: Installing thawte SSL certificate in JBOSS 4
            igormonteiro

            Hello Sun Kum, how you doing?

             

            I could install a certificate in Jboss 4.2.2.GA using keytool .

             

            First of all, you must have the certificate signed by Certified Authority.

             

            Try using theses commands. Pay attention when the server is x64 platform, because you'll need to copy the .txt assigned to .CER binary as x64 .

             

            D:\jdk522\bin>keytool -genkey -alias  myalias -keyalg RSA -keystore d:\jboss.keystore
            -validity xxxxxxxxx

            D:\jdk522\bin>

             

            D:\jdk522\bin>keytool.exe -import -alias myalias -keystore D:\jboss-4.2.2.GA\server\s
            icorp\conf\jboss.keystore -file D:\jboss-4.2.2.GA\server\cert.cer
            Enter keystore password:  mypass
            Owner: CN=xxxxxxx, OU="xxxxxxx, xxxx",
            O=xxxxxx, L=Rio de Janeiro, ST=Rio de Janeiro, C=BR
            Issuer: EMAILADDRESS=premium-server@thawte.com, CN=Thawte Premium Server CA, OU=Certification Servic
            es Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA
            Serial number: 36b4ae6ef75611c7f6
            Valid from: Mon May 10 21:00:00 BRT 2010 until: Thu May 10 20:59:59 BRT 2012
            Certificate fingerprints:
                     MD5:  60:B8:14:F2:27:04:B6:F9
                     SHA1: BF:F8:A1:31:B7:6F:6A:E8:91:59:A6:E9
            Trust this certificate? [no]:  yes
            Certificate was added to keystore

             

            D:\jdk522\bin>

             


            ===