mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-18 15:05:02 -05:00
14 lines
447 B
Plaintext
Executable File
14 lines
447 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/server.crt >> final.crt
|
|
cat authority-response/PositiveSSLCA2.crt >> final.crt
|
|
cat authority-response/AddTrustExternalCARoot.crt >> final.crt
|