aboutsummaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-12-23 12:11:07 +0100
committerKim Alvefur <zash@zash.se>2015-12-23 12:11:07 +0100
commit8a91b6495ecdbdcd458eb3bba80664b6ea494234 (patch)
tree7bd25dd112ac4ff4f8b501c009a6b19ad8c34bed /certs
parentea6ee08b09ea25fbce5c6bfb0138a3488cdbb256 (diff)
parentf1ea08ed4293e98666197385e6b521949bc82b46 (diff)
downloadprosody-8a91b6495ecdbdcd458eb3bba80664b6ea494234.tar.gz
prosody-8a91b6495ecdbdcd458eb3bba80664b6ea494234.zip
Merge 0.9->0.10
Diffstat (limited to 'certs')
-rw-r--r--certs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/certs/Makefile b/certs/Makefile
index 6ffb6bd7..534aa0d4 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -59,5 +59,5 @@ keysize=2048
sed 's,example\.com,$*,g' openssl.cnf > $@
%.key:
- openssl genrsa $(keysize) > $@
- @chmod 400 $@
+ umask 0077 && openssl genrsa -out $@ $(keysize)
+ @chmod 400 $@ -c