Obtaining an encoded key from a keystore
To get the encoded key from a keystore using keytool:
- In a command window:
keytool -list -alias <key alias> -rfc -keystore <keystore path>
- The encoded key is the text between "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----"
Last modified 13 years ago
Last modified on Oct 12, 2010, 4:54:58 PM