mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-24 09:32:17 -05:00
18 lines
475 B
Plaintext
Executable File
18 lines
475 B
Plaintext
Executable File
echo "password
|
|
password
|
|
Unknown
|
|
Unknown
|
|
Unknown
|
|
Unknown
|
|
Unknown
|
|
Unknown
|
|
yes
|
|
password" | keytool -genkeypair -alias anonymous -keyalg RSA -keysize 2048 -keystore keystore.jks
|
|
echo ""
|
|
|
|
echo "password" | keytool -export -alias anonymous -keystore keystore.jks -rfc -file selfsignedcert.cer
|
|
echo "password
|
|
password
|
|
yes" | keytool -import -alias anonymous -file selfsignedcert.cer -keystore truststore.jks
|
|
java -jar ../../build/exported/Tools.jar --export-pem file=truststore.jks
|