Skip to content

Instantly share code, notes, and snippets.

@theel0ja
Created January 8, 2019 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theel0ja/c49826981325631c0920f83c34a54a1f to your computer and use it in GitHub Desktop.
Save theel0ja/c49826981325631c0920f83c34a54a1f to your computer and use it in GitHub Desktop.
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