tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Unable to import certificate into keystore
Date Wed, 10 Sep 2008 15:40:29 GMT
This is probably more of a Java issue than a Tomcat issue, but it's directly
impacting our use of Tomcat, so I'm sending it here first...


Tomcat version:  Tomcat 5.5.20
JDK:  1.5.0_06
OS:  Windows Server 2003, Standard Edition


We use Tomcat for B2B communication with one of our partners over HTTP /
HTTPS, implementing some of the RosettaNet interfaces.  Tomcat sometimes
functions as a client, sometimes as a server for this purpose.  For the SSL
/ HTTPS communications, we and our partners need to recognize each other's
certificates.  So the person who set this up originally for my company (I
inherited this thing from a guy who's no longer here) imported our partner's
certificates into our keystore, and things are working fine.  Our partner
now sends us a new certificate and tells us we need to import this new one.
So I execute the following...

keytool -import -alias <keystore alias> -keystore <path to
keystore>\.keystore -file <path to certificate>\CompanynameProdCert.der

Keytool asks me for our keystore password, which I supply, and then I get
the following error:

keytool error: java.lang.Exception: Public keys in reply and keystore don't

I am a complete and total novice regarding SSL and cryptography in general,
so please don't lambaste me for not knowing the basics, but after having
consulted Google, I'm pretty much at a loss regarding how to proceed.

Any help will be very much appreciated.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message