Revision [3753]

Last edited on 2010-07-15 20:39:31 by KenFong
Additions:
==List cert content==
Export the cert and pipe it to openssl. -rfc option will produce PEM output.
keytool -export -keystore server.keystore -alias www.domain.com -storepass foo1234 -rfc | openssl x509 -noout -subject


Revision [1768]

Edited on 2008-06-19 02:17:46 by WikiAdmin
Additions:
address="1.2.3.4"
port="443" minProcessors="5" maxProcessors="75" enableLookups="true"
acceptCount="10" debug="0" scheme="https" secure="true"
useURIValidationHack="false">
clientAuth="false" protocol="TLS"
keystoreFile="/secure/my.keystore" keystorePass="mysecret" />
==Converting existing PEM key / cert into Java Keystore==
Original link: http://www.agentbob.info/agentbob/79-AB.html
===Change key and cer tinto DER format===
openssl pkcs8 -topk8 -nocrypt -in key.pem -inform PEM -out key.der -outform DER
openssl x509 -in cert.pem -inform PEM -out cert.der -outform DER
===Run ImportKey===
java ImportKey key.der cert.der alias_name
Deletions:
address="1.2.3.4"
port="443" minProcessors="5" maxProcessors="75" enableLookups="true"
acceptCount="10" debug="0" scheme="https" secure="true"
useURIValidationHack="false">
clientAuth="false" protocol="TLS"
keystoreFile="/secure/my.keystore" keystorePass="mysecret" />


Revision [1229]

The oldest known version of this page was created on 2007-12-07 04:06:45 by WikiAdmin
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki