- keytool -genkey -alias weblogic -keyalg RSA -keystore server.keystore
- keytool -selfcert -export -alias weblogic -storepass changeit -file server.cer -keystore server.keystore
- keytool -genkey -alias client -keyalg RSA -keystore client.keystore
- keytool -selfcert -export -alias client -storepass changeit -file client.cer -keystore client.keystore
- keytool -import -v -trustcacerts -alias weblogic -file server.cer -keystore client.keystore -keypass changeit -storepass changeit
- keytool -keystore
\jre\lib\security\cacerts -storepass changeit -file client.cer -import -alias client -trustcacerts
Wednesday, December 2, 2009
Use keytool to generate keys in java
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment