tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Sushkin <nsush...@openfinance.com>
Subject Re: Tomcat 5 SSL keytool error: java.lang.Exception: Public key in reply and keystore don't match
Date Tue, 20 Oct 2009 16:19:17 GMT
Miguel,

I just installed a cert using our own CA, had a bit of trouble myself, but 
it worked in the end. I found comodo's and Herong Yang's instructions 
useful. See

http://www.herongyang.com/crypto/OpenSSL_Signing_keytool_CSR.html and
https://support.comodo.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=1204

One thing to note is that when you import cert, use the same certificate 
alias as the key's (for example, "-genkey -alias tomcat" followed 
by "-import -trustcacerts -aliast tomcat")


On Tuesday 20 October 2009 10:36, Miguel Ortiz wrote:

> I have a tomcat 5 web server setup on CentOS, I am currently working on
> installing a SSL cert but don't seem to be having any luck. I get the
> following error:
>
> keytool error: java.lang.Exception: Public key in reply and keystore
> don't match
>
> I have reissued the cert through Network Solutions and followed the
> following instructions to generate and install the cert. I have run out
> of my patience with them. Is there anything else that I may be missing?
> Thanks
>
> http://www.networksolutions.com/support/csr-for-java-based-webservers-su
> ch-as-tomcat-using-keytool/
>
> http://www.networksolutions.com/support/installation-for-java-based-webs
> ervers-such-as-tomcat-using-keytool/
>
>
> Miguel


-- 
Nicholas Sushkin, Senior Software Engineer
http://www.aggex.com http://www.wealthinformationexchange.com

Mime
View raw message