Software /
code /
prosody
Diff
certs/Makefile @ 7035:085a286e2873
certs/Makefile: Fix generating cert from only a key (no config then)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 24 Dec 2015 10:39:13 +0100 |
parent | 7031:89221daefae9 |
child | 7194:1c55403d06c4 |
line wrap: on
line diff
--- a/certs/Makefile Wed Dec 23 14:21:20 2015 +0100 +++ b/certs/Makefile Thu Dec 24 10:39:13 2015 +0100 @@ -45,8 +45,7 @@ @chmod 400 $*.key -c %.crt: %.key - openssl req -new -x509 -nodes -key $^ -days 365 \ - -sha256 -out $@ -utf8 -config $(firstword $^) + openssl req -new -x509 -key $^ -days 365 -sha256 -utf8 -subj /CN=$* -out $@ %.crt: umask 0077 && touch $*.key