Hi,

Taking a quick look at this, i believe this is the part that goes wrong

keytool -import -trustcacerts -alias $myAlias -file $myServerCert -keystore 
$myKeyStoreFileName

It looks to me that you are importing a certificate that is supposed to be your server certificate as if it were a certificate authority certificate. Plus perhaps using a wrong alias, as the alias used needs to be the same which was used for generating the key and csr.

What in your case would most propably work, is

keytool -import -alias tomcat -keystore $myKeyStoreFileName -file $myServerCert

Feel free to translate this to any language of your choosing :)

Cheers,

-Tapio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to