X-Git-Url: https://git.sthu.org/?p=shutils.git;a=blobdiff_plain;f=letsencrypt%2Frenew-requestcert.sh;fp=letsencrypt%2Frenew-requestcert.sh;h=17faea4726fb9c206e3b96bd4303ae7a0e87eadd;hp=0000000000000000000000000000000000000000;hb=13f0d7044a34553fe36c76155ed2d4328f885eb3;hpb=93df33f1404a71ec713a6c05a4f66ce61e946100 diff --git a/letsencrypt/renew-requestcert.sh b/letsencrypt/renew-requestcert.sh new file mode 100644 index 0000000..17faea4 --- /dev/null +++ b/letsencrypt/renew-requestcert.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +openssl req -new -sha256 -key /etc/ssl/letsencrypt/domain.key -subj "/C=US/O=Acme/CN=sthu.org" -reqexts SAN -config <(cat /etc/ssl/openssl.cnf <(printf "[SAN]\nsubjectAltName=DNS:example.com,DNS:www.example.com")) -out /etc/ssl/letsencrypt/domain.csr