Created
January 8, 2019 06:29
-
-
Save theel0ja/c49826981325631c0920f83c34a54a1f to your computer and use it in GitHub Desktop.
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
sudo apt install certbot -t stretch-backports | |
sudo pip install 'git+https://gitlab.com/cspublic/certbot-plugin-gandi.git' | |
sudo mkdir /etc/letsencrypt | |
sudo touch /etc/letsencrypt/dnsgandi.ini | |
sudo chmod 600 /etc/letsencrypt/dnsgandi.ini | |
sudo nano /etc/letsencrypt/dnsgandi.ini | |
sudo certbot --server https://acme-v02.api.letsencrypt.org/directory \ | |
-a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials /etc/letsencrypt/gandi.ini \ | |
-d *.example.com -d example.com certonly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment