forked from zmalltalker/stomp
-
Notifications
You must be signed in to change notification settings - Fork 80
Test crests
Guy M. Allard edited this page Aug 15, 2013
·
3 revisions
Enter the command:
keytool -importkeystore -srckeystore client.pks -srcstoretype PKCS12 \
-srcstorepass password \
-destkeystore amqt3.ts -deststorepass password \
-destalias aclient -alias 1
This creates the server's truststore (file amqt3.ts). The file name is arbitrary.
Enter the command:
keytool -importkeystore -srckeystore TestCA.pks -srcstoretype PKCS12 \
-srcstorepass password \
-destkeystore amqt3CliCA.ts -deststorepass password \
-destalias aclientCA -alias 1
This is likely a better approach to creating the server's truststore. It allows a single entry in the truststore that will support multiple clients with certificates signed by the CA.