aboutsummaryrefslogtreecommitdiffstats
path: root/certs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'certs/Makefile')
-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