aboutsummaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-12-24 10:39:13 +0100
committerKim Alvefur <zash@zash.se>2015-12-24 10:39:13 +0100
commitb50935a87c03246fac1541b275da4464a5b63b3b (patch)
treed8077b00b463afcb2bca4389bb54749258414fb9 /certs
parent4e8f92f0aee1621af3bc1302af7c0982d9a53077 (diff)
downloadprosody-b50935a87c03246fac1541b275da4464a5b63b3b.tar.gz
prosody-b50935a87c03246fac1541b275da4464a5b63b3b.zip
certs/Makefile: Fix generating cert from only a key (no config then)
Diffstat (limited to 'certs')
-rw-r--r--certs/Makefile3
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