From b50935a87c03246fac1541b275da4464a5b63b3b 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(-) 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