certs/Makefile
changeset 7038 085a286e2873
parent 7034 89221daefae9
child 7197 1c55403d06c4
--- a/certs/Makefile	Wed Dec 23 14:21:20 2015 +0100
+++ b/certs/Makefile	Thu Dec 24 10:39:13 2015 +0100
@@ -45,8 +45,7 @@
 	@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