Last active
April 25, 2021 12:21
-
-
Save nazarii-piontko/36db94a4eb3949738aee6e27dedc8315 to your computer and use it in GitHub Desktop.
Letsencrypt/Cerbot generate wildcard certificate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
certbot certonly \ | |
--manual \ | |
-d *.$1 \ | |
-d $1 \ | |
--agree-tos \ | |
--no-bootstrap \ | |
--manual-public-ip-logging-ok \ | |
--preferred-challenges dns-01 \ | |
--server https://acme-v02.api.letsencrypt.org/directory | |
# https://certbot.eff.org/docs/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment