Skip to content

Commit

Permalink
Merge pull request #124 from demlasjr/patch-1
Browse files Browse the repository at this point in the history
Default DKIM keys with 1024-bit instead 512-bit
  • Loading branch information
serghey-rodin committed Mar 19, 2014
2 parents 26d1cb0 + 774c9a3 commit 3b60ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion func/rebuild.sh
Expand Up @@ -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

Expand Down

0 comments on commit 3b60ab2

Please sign in to comment.