Last active
August 21, 2022 05:27
-
-
Save mahemoff/f033b1f8ccd6e259a1f5041ba7905d94 to your computer and use it in GitHub Desktop.
Certbot for Apache one-liner
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
# Certbot can be a bit tedious, but it's easy to automate a one-liner non-interactive. Substitute your own domain and email below. | |
sudo service apache2 stop && sudo certbot --apache -d example.com -m [email protected] --non-interactive --agree-tos && sudo service apache2 start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment