diff options
author | Kim Alvefur <zash@zash.se> | 2015-12-24 10:39:13 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-12-24 10:39:13 +0100 |
commit | 6e6e46038c6d65b1f00a4c532cb4b90da007807f (patch) | |
tree | d8077b00b463afcb2bca4389bb54749258414fb9 /certs | |
parent | 158857c85e16a316681b9b963e5b13729f891139 (diff) | |
download | prosody-6e6e46038c6d65b1f00a4c532cb4b90da007807f.tar.gz prosody-6e6e46038c6d65b1f00a4c532cb4b90da007807f.zip |
certs/Makefile: Fix generating cert from only a key (no config then)
Diffstat (limited to 'certs')
-rw-r--r-- | certs/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/certs/Makefile b/certs/Makefile index 534aa0d4..96361748 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -45,8 +45,7 @@ keysize=2048 @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 |