mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-23 02:27:05 +00:00
force move if necessary
This commit is contained in:
parent
4db591315b
commit
f797057c3d
@ -50,7 +50,7 @@ if [ ! -f "$STORAGE_ROOT/mail/dkim/box-rsa.key" ]; then
|
|||||||
dknewkey --ktype rsa $STORAGE_ROOT/mail/dkim/box-rsa
|
dknewkey --ktype rsa $STORAGE_ROOT/mail/dkim/box-rsa
|
||||||
# Change format from pkcs#8 to pkcs#1, dkimpy seemingly is not able to handle the #8 format
|
# Change format from pkcs#8 to pkcs#1, dkimpy seemingly is not able to handle the #8 format
|
||||||
openssl pkey -in $STORAGE_ROOT/mail/dkim/box-rsa.key -traditional -out $STORAGE_ROOT/mail/dkim/box-rsa.key.1
|
openssl pkey -in $STORAGE_ROOT/mail/dkim/box-rsa.key -traditional -out $STORAGE_ROOT/mail/dkim/box-rsa.key.1
|
||||||
mv $STORAGE_ROOT/mail/dkim/box-rsa.key $STORAGE_ROOT/mail/dkim/box-rsa.key.8
|
mv -f $STORAGE_ROOT/mail/dkim/box-rsa.key $STORAGE_ROOT/mail/dkim/box-rsa.key.8
|
||||||
cp -f $STORAGE_ROOT/mail/dkim/box-rsa.key.1 $STORAGE_ROOT/mail/dkim/box-rsa.key
|
cp -f $STORAGE_ROOT/mail/dkim/box-rsa.key.1 $STORAGE_ROOT/mail/dkim/box-rsa.key
|
||||||
|
|
||||||
dknewkey --ktype ed25519 $STORAGE_ROOT/mail/dkim/box-ed25519
|
dknewkey --ktype ed25519 $STORAGE_ROOT/mail/dkim/box-ed25519
|
||||||
|
Loading…
Reference in New Issue
Block a user