equal
deleted
inserted
replaced
|
1 http://community.jboss.org/wiki/GeneratingSelfSignedCertificateWithKeytool |
|
2 Generating Self Signed Certificate with Keytool |
|
3 |
|
4 Creating private/public key pair: |
|
5 keytool -genkey -alias ... -keyalg RSA -validity 365 -keystore server.keystore -storetype JKS |
|
6 |
|
7 Extracting the public key: |
|
8 keytool -export -alias ... -keystore server.keystore -rfc -file public.cert |
|
9 |
|
10 Creating the Truststore: |
|
11 keytool -import -alias ... -file public.cert -storetype JKS -keystore server.truststore |