mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-28 11:22:14 -05:00
13 lines
377 B
Plaintext
Executable File
13 lines
377 B
Plaintext
Executable File
set -x
|
|
|
|
JKSSTORE=mail_servers.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
|
|
|
|
cat mail_servers.crt > final.crt
|
|
cat PositiveSSLCA2.crt >> final.crt
|
|
cat AddTrustExternalCARoot.crt >> final.crt
|