dotfiles/bin/bin/wildcard-cert
2024-09-13 01:45:15 -04:00

10 lines
457 B
Bash
Executable File

#!/bin/sh
sudo certbot certonly \
--dns-rfc2136 \
--dns-rfc2136-credentials /root/.secrets/rfc2136.ini \
--server https://acme-v02.api.letsencrypt.org/directory \
--preferred-challenge dns-01 \
--cert-name $1 \
-d $1 \
-d \*.$1