Access Java based keystore directly on Sun ONE Webserver 6.1
Posted
by
George Bailey
on Server Fault
See other posts from Server Fault
or by George Bailey
Published on 2011-02-01T22:29:10Z
Indexed on
2011/02/01
23:27 UTC
Read the original article
Hit count: 394
The keystore seems to reside in one of
/opt/SUNWwbsvr/alias/https-sub.domain.ext-hostname-cert8.db
/opt/SUNWwbsvr/alias/https-sub.domain.ext-hostname-key3.db
What tool would I use to access this file? I have tried these commands which did not work.
/opt/SUNWwbsvr/bin/https/jdk/bin/keytool -certreq -keyalg RSA -file /tmp/test.csr -keystore /opt/SUNWwbsvr/alias/https-sub.domain.ext-hostname-cert8.db
/opt/SUNWwbsvr/bin/https/jdk/bin/keytool -certreq -keyalg RSA -file /tmp/test.csr -keystore /opt/SUNWwbsvr/alias/https-sub.domain.ext-hostname-key3.db
/opt/SUNWwbsvr/bin/https/jdk/bin/keytool -list -storepass password -keystore /opt/SUNWwbsvr/alias/https-sub.domain.ext-hostname-cert8.db
/opt/SUNWwbsvr/bin/https/jdk/bin/keytool -list -storepass password -keystore /opt/SUNWwbsvr/alias/https-sub.domain.ext-hostname-key3.db
They all gave me the error message
keytool error: java.io.IOException: Invalid keystore format
© Server Fault or respective owner