mailiverse/keys/push/make

4 lines
246 B
Plaintext
Raw Normal View History

keytool -genkeypair -alias client -keyalg RSA -keysize 2048 -keystore keystore.jks
keytool -export -alias client -keystore keystore.jks -rfc -file selfsignedcert.cer
keytool -import -alias client -file selfsignedcert.cer -keystore truststore.jks