Procedure9.2.Extract a Self-signed Certificate from the Keystore
Run the
keytool -export -alias ALIAS -keystore server.keystore -rfc -file public.cert
command:keytool -export -alias teiid -keystore server.keystore -rfc -file public.cert
Enter the keystore password when prompted:
Enter keystore password: <password>
Result
This creates the public.cert
file that contains a certificate signed with the private key in the server.keystore
.