mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-26 10:22:15 -05:00
12 lines
320 B
Plaintext
Executable File
12 lines
320 B
Plaintext
Executable File
set -x
|
|
|
|
JKSSTORE=../primary/server.jks
|
|
cp $JKSSTORE store.jks
|
|
|
|
keytool -importkeystore -srckeystore store.jks -srcstoretype JKS -deststoretype PKCS12 -destkeystore store.p12
|
|
openssl pkcs12 -in store.p12 -nocerts -out store.key
|
|
openssl rsa -in store.key -out final.key
|
|
|
|
rm final.crt
|
|
cat authority-response/* >> final.crt
|