mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
Merge pull request #124 from demlasjr/patch-1
Default DKIM keys with 1024-bit instead 512-bit
This commit is contained in:
commit
3b60ab29f7
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ rebuild_mail_domain_conf() {
|
|||
U_MAIL_DKMI=$((U_MAIL_DKMI + 1))
|
||||
pem="$USER_DATA/mail/$domain.pem"
|
||||
pub="$USER_DATA/mail/$domain.pub"
|
||||
openssl genrsa -out $pem 512 &>/dev/null
|
||||
openssl genrsa -out $pem 1024 &>/dev/null
|
||||
openssl rsa -pubout -in $pem -out $pub &>/dev/null
|
||||
cp $pem $HOMEDIR/$user/conf/mail/$domain/dkim.pem
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue