Skip to content

Instantly share code, notes, and snippets.

@jerza90
jerza90 / renew.sh
Created July 12, 2018 05:53 — forked from tpaksu/renew.sh
laragon refresh certificates
#!/bin/sh
CRTPATH=$(pwd -W)
for i in *.key ; do
DOMAIN=${i%.key}
cat << EOF > openssl_$DOMAIN.conf
[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req
prompt = no
[req_distinguished_name]