Software /
code /
prosody
Changeset
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 (2015-12-24) |
parents | 7034:27f4d63f136a |
children | 7036:f26debcae34e 7037:5d52e4ee2ae1 |
files | certs/Makefile |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
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