Skip to content

Commit 3b60ab2

Browse files
committed
Merge pull request hestiacp#124 from demlasjr/patch-1
Default DKIM keys with 1024-bit instead 512-bit
2 parents 26d1cb0 + 774c9a3 commit 3b60ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ rebuild_mail_domain_conf() {
455455
U_MAIL_DKMI=$((U_MAIL_DKMI + 1))
456456
pem="$USER_DATA/mail/$domain.pem"
457457
pub="$USER_DATA/mail/$domain.pub"
458-
openssl genrsa -out $pem 512 &>/dev/null
458+
openssl genrsa -out $pem 1024 &>/dev/null
459459
openssl rsa -pubout -in $pem -out $pub &>/dev/null
460460
cp $pem $HOMEDIR/$user/conf/mail/$domain/dkim.pem
461461

0 commit comments

Comments
 (0)