From 311c1a3ea9dce703fa980e12edecb6680679f396 Mon Sep 17 00:00:00 2001 From: jgaunt Date: Sat, 18 Jul 2020 14:17:00 -0400 Subject: [PATCH] Update 'csr-ecc.sh' --- csr.sh => csr-ecc.sh | 29 ----------------------------- 1 file changed, 29 deletions(-) rename csr.sh => csr-ecc.sh (70%) diff --git a/csr.sh b/csr-ecc.sh similarity index 70% rename from csr.sh rename to csr-ecc.sh index 5bc0f11..ed91e9f 100644 --- a/csr.sh +++ b/csr-ecc.sh @@ -36,35 +36,6 @@ EOF done -# ECDSA key and csr -: ' -openssl req -new -sha512 -nodes -newkey ec:<(openssl ecparam -name secp384r1) -keyout $i.$DOMAIN.key -out $i.$DOMAIN.csr -config <( -cat <<-EOF -[req] -prompt = no -default_md = sha512 -req_extensions = req_ext -distinguished_name = dn - -[ dn ] -C=US -ST=PA -L=Pittsburgh -O=Gaunt -OU=Gaunt -emailAddress=admin@johnhgaunt.com -CN=$i.$DOMAIN - -[ req_ext ] -subjectAltName = @alt_names - -[ alt_names ] -DNS.1 = $i.$DOMAIN -DNS.2 = $i -EOF -) -' - # RSA key and csr : ' openssl req -new -sha512 -nodes -out $i.$DOMAIN.csr -newkey rsa:4096 -keyout $i.$DOMAIN.key -config <(