projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
certs/Makefile: Fix generating cert from only a key (no config then)
[prosody.git]
/
certs
/
Makefile
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
- 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