Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

converting a certificate for use on Tomcat

Chris Purcell

2004-05-20

Replies:

I have an Apache server with an SSL certificate installed from a CA.  Its
just a plain text certificate that looks like this..

-----BEGIN CERTIFICATE-----
MIID/DCCAuSgAwIBAgIEAIXW1jANBgkqhkiG9w0BAQQFADCBozELMAkGA1UEBhMC
blablablba
/WeCY0ZzyRYuHhQYIm3R+A==
-----END CERTIFICATE-----

I want to move this certificate to a new server that only runs Tomcat in
standalone mode.  I tried to convert it like this (below) but am getting
an error...

root@(protected)
server.cert -out host.foo.org.pfx
root@(protected)
Enter keystore password: changeit
keytool error: java.lang.Exception: Input not an X.509 certificate

Am I doing something wrong here?

Thanks,
Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.