Mercurial Hosting > luan
view host/local_https.sh @ 2091:ee7e711a91f2 ssltesting
fix inconsistent usage of DOMAIN/.well-known/acme-challenge and DOMAIN/acme-challenge
| author | Violet7 |
|---|---|
| date | Thu, 11 Dec 2025 20:33:51 -0800 |
| parents | 639441abad7b |
| 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"
