# HG changeset patch # User Kim Alvefur # Date 1450949953 -3600 # Node ID 085a286e2873ca910f53889182f180280bc921d9 # Parent 27f4d63f136a839e8d1b930de0548acc449562ad certs/Makefile: Fix generating cert from only a key (no config then) diff -r 27f4d63f136a -r 085a286e2873 certs/Makefile --- 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