Re: SSL on Tomcat 6

2015-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Adriano, On 6/11/15 3:54 PM, Adriano Matos Meier wrote: > Exactly! > > When I run "keytool -list ...", the PrivateKeyEntry now has the > fingerprint for SSL certificate. > > I belived that I had lost private key, and I would have to do it > all a

Re: SSL on Tomcat 6

2015-06-11 Thread Adriano Matos Meier
Exactly! When I run "keytool -list ...", the PrivateKeyEntry now has the fingerprint for SSL certificate. I belived that I had lost private key, and I would have to do it all again (keystore/CSR/intermed/SSL). I still import the SSL certificate with alias tomcat, and it appears in keytool as a t

Re: SSL on Tomcat 6

2015-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Adriano, On 6/11/15 2:31 PM, Adriano Matos Meier wrote: > I had success when I re-import SSL certificate using same name > alias of PrivateKeyEntry and name alias used when I generate CSR > (repository). That was going to be my second suggestion.

Re: SSL on Tomcat 6

2015-06-11 Thread Adriano Matos Meier
Chris. I had success when I re-import SSL certificate using same name alias of PrivateKeyEntry and name alias used when I generate CSR (repository). It's ok now! Thank you very much!!! Adriano Em Qui, 2015-06-11 às 09:59 -0400, Christopher Schultz escreveu: > Adriano, > > On 6/11/15 9:45 AM,

Re: SSL on Tomcat 6

2015-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Adriano, On 6/11/15 9:45 AM, Adriano Matos Meier wrote: >>> I tried to add keyAlias="server" in my server.xml, but I >>> received this error: >> >> What does "keytool -list" show for that keystore? > > It returns 3 entries: > > 1 PrivateKeyEntry

Re: SSL on Tomcat 6

2015-06-11 Thread Adriano Matos Meier
Hi Chris. It returns 3 entries: 1 PrivateKeyEntry (Private Key) - alias repository 1 trustedCertEntry (Intermediate certificate) - alias intermed 1 trustedCertEntry (SSL certificate) - alias server Thanks for your attention! Adriano Em Qui, 2015-06-11 às 09:35 -0400, Christopher Schultz escr

Re: SSL on Tomcat 6

2015-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Adriano, On 6/11/15 7:18 AM, Adriano Matos Meier wrote: > I need update the SSL certificate in Tomcat 6.x. > > First I did: > > 1) Generate keystore keytool -genkeypair -alias repository -keyalg > RSA -keysize 2048 -sigalg SHA256withRSA -keystore