mailiverse/keys/localrelay/make

4 lines
291 B
Plaintext
Raw Normal View History

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