프로그래밍
[Web] How can I export my private key from a Java Keytool keystore?
Mesia
2017. 9. 1. 11:42
https://security.stackexchange.com/questions/3779/how-can-i-export-my-private-key-from-a-java-keytool-keystore
Since Java 6, you can import/export private keys into PKCS#12 (.p12) files using keytool, using -importkeystore (not available in previous versions).
For example:
keytool -importkeystore -srckeystore existing-store.jks -destkeystore new-store.p12 -deststoretype PKCS12
The PKCS12 keystore type is also supported as a standard keystore type in the default Oracle/Sun security provider.