Skip to content

Instantly share code, notes, and snippets.

@nazarii-piontko
Last active April 25, 2021 12:21
Show Gist options
  • Save nazarii-piontko/36db94a4eb3949738aee6e27dedc8315 to your computer and use it in GitHub Desktop.
Save nazarii-piontko/36db94a4eb3949738aee6e27dedc8315 to your computer and use it in GitHub Desktop.
Letsencrypt/Cerbot generate wildcard certificate
#!/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