Mercurial Hosting > luan
view host/local_https.sh @ 2061:dd10659fcdb9 acme-tiny tip
Renew ssl monthly instead of daily; Fix renewSsl.sh
| author | Violet7 |
|---|---|
| date | Thu, 13 Nov 2025 23:17:16 -0800 |
| parents | f1d9679308f0 |
| children |
line wrap: on
line source
#!/bin/bash set -e DOMAIN=$1 cd sites/$DOMAIN openssl req -x509 -newkey rsa:2048 -nodes -keyout "$DOMAIN.key" -out fullchain.cer -days 365 \ -subj "/CN=$DOMAIN" \ -addext "subjectAltName=DNS:$DOMAIN,IP:127.0.0.1"
