Do not try to get certificate for wildcard domains as this is no longer supported by certbot

This commit is contained in:
Grzegorz Kosciolek 2018-08-17 21:49:37 +02:00
parent 6fa5b2b577
commit c155cde276
1 changed files with 1 additions and 1 deletions

View File

@ -60,6 +60,6 @@ auto_enable_configs() {
get_certificate() {
echo "Getting certificate for domain $1 on behalf of user $2"
certbot certonly --agree-tos --keep -n --text --email $2 --server \
https://acme-v02.api.letsencrypt.org/directory -d \*.$1 -d $1 --http-01-port 1337 \
https://acme-v02.api.letsencrypt.org/directory -d $1 --http-01-port 1337 \
--standalone --standalone-supported-challenges http-01 --debug
}