Software /
code /
prosody
Comparison
certs/Makefile @ 7030:b5bc9f77f096
certs/Makefile: Run key generation with a stricter umask (fixes a race condition)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 23 Dec 2015 12:07:03 +0100 |
parent | 5293:fe9215155453 |
child | 7031:89221daefae9 |
child | 7713:003ee2be2635 |
comparison
equal
deleted
inserted
replaced
7029:b2d160baa957 | 7030:b5bc9f77f096 |
---|---|
24 | 24 |
25 %.cnf: | 25 %.cnf: |
26 sed 's,example\.com,$*,g' openssl.cnf > $@ | 26 sed 's,example\.com,$*,g' openssl.cnf > $@ |
27 | 27 |
28 %.key: | 28 %.key: |
29 openssl genrsa $(keysize) > $@ | 29 umask 0077 && openssl genrsa -out $@ $(keysize) |
30 @chmod 400 $@ | 30 @chmod 400 $@ -c |