Last active
September 11, 2022 02:56
-
-
Save Alex4386/ce7c13e6d2e60dbf36034cd7ccb92f09 to your computer and use it in GitHub Desktop.
certbot setup script
This file contains hidden or 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 | |
| sudo snap install core | |
| sudo snap refresh core | |
| sudo snap install --classic certbot | |
| sudo snap set certbot trust-plugin-with-root=ok | |
| sudo snap install certbot-dns-cloudflare | |
| sudo snap connect certbot:plugin certbot-dns-cloudflare |
This file contains hidden or 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
| # Example credentials file using restricted API Token (recommended): | |
| # Cloudflare API token used by Certbot | |
| dns_cloudflare_api_token = 0123456789abcdef0123456789abcdef01234567 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment