Created
April 20, 2023 05:12
-
-
Save alpenzoo/587e7927c086b9c4fc233422146ad211 to your computer and use it in GitHub Desktop.
Letsencrypt usage
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
#add another domain | |
certbot --expand -d subdomain.domain.com | |
#add another domain with SSL and 307 redirect | |
certbot --webroot -w /var/www/html certonly -d subdomain.domain.com 307 -d subdomain.NEWdomain.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment