mirror of
https://github.com/moparisthebest/mailiverse
synced 2025-02-16 13:50:10 -05:00
working on big setup
This commit is contained in:
parent
7db9242ed0
commit
7904519ca5
@ -6,10 +6,26 @@ cp $JKSSTORE store.jks
|
||||
echo "password
|
||||
password
|
||||
password" | keytool -importkeystore -srckeystore store.jks -srcstoretype JKS -deststoretype PKCS12 -destkeystore store.p12
|
||||
echo "password
|
||||
password
|
||||
password" | openssl pkcs12 -in store.p12 -nocerts -out store.key
|
||||
echo "password" | openssl rsa -in store.key -out final.key
|
||||
|
||||
echo '
|
||||
*****************
|
||||
*****************
|
||||
** Enter: "password" 3 times
|
||||
*****************
|
||||
*****************
|
||||
'
|
||||
|
||||
openssl pkcs12 -in store.p12 -nocerts -out store.key
|
||||
|
||||
echo '
|
||||
*****************
|
||||
*****************
|
||||
** Enter: "password" 3 times
|
||||
*****************
|
||||
*****************
|
||||
'
|
||||
|
||||
openssl rsa -in store.key -out final.key
|
||||
|
||||
rm final.crt
|
||||
cat ../primary/selfsignedcert.cer >> final.crt
|
||||
|
12
setup
12
setup
@ -15,10 +15,18 @@ pushd passwords
|
||||
popd
|
||||
|
||||
pushd keys
|
||||
./make
|
||||
./make
|
||||
|
||||
pushd primary
|
||||
./make-self-signed-key
|
||||
popd
|
||||
|
||||
pushd nginx
|
||||
./convert-selfsigned
|
||||
popd
|
||||
popd
|
||||
|
||||
echo Enter the name of your site (example: joesmail.com):
|
||||
echo 'Enter the name of your site (example: joesmail.com):'
|
||||
read site
|
||||
|
||||
pushd config/hosts
|
||||
|
Loading…
Reference in New Issue
Block a user