projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e4ce2b5
)
certs/Makefile: Fix generating cert from only a key (no config then)
author
Kim Alvefur
<zash@zash.se>
Thu, 24 Dec 2015 09:39:13 +0000
(10:39 +0100)
committer
Kim Alvefur
<zash@zash.se>
Thu, 24 Dec 2015 09:39:13 +0000
(10:39 +0100)
certs/Makefile
patch
|
blob
|
history
diff --git
a/certs/Makefile
b/certs/Makefile
index 534aa0d48d1291f3d37b004ccf68283a00beb390..96361748e7c06a44e2ca7318c7ac8d187dccb931 100644
(file)
--- a/
certs/Makefile
+++ b/
certs/Makefile
@@
-45,8
+45,7
@@
keysize=2048
@chmod 400 $*.key -c
%.crt: %.key
@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
%.crt:
umask 0077 && touch $*.key