From 6e6e46038c6d65b1f00a4c532cb4b90da007807f Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 24 Dec 2015 10:39:13 +0100 Subject: certs/Makefile: Fix generating cert from only a key (no config then) --- certs/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'certs/Makefile') 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 -- cgit v1.2.3