Last active
May 27, 2022 18:08
-
-
Save feliperuhland/de36168735510ff70fbbded88daed13e to your computer and use it in GitHub Desktop.
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
| mkdir /tmp/cert | |
| docker run -it --rm --name certbot -v "/tmp/cert:/etc/letsencrypt" -v "/tmp/cert:/var/lib/letsencrypt" --net host certbot/certbot certonly --manual --preferred-challenges dns | |
| 1. enter email | |
| 2. Agree with terms | |
| 3. share OR NOT your email with EFF | |
| 4. enter the domain with or without wildcard | |
| 5. Go to your domain manager and add a dns record type TXT, with name _acme-challenge.DOMAIN with the value from the terminal | |
| 6. go to dnschecker.org and change the type to TXT and add the address _acme-challenge.DOMAIN | |
| 7. Wait until dns is propagading and only continue after you see every (or almost) CHECK on the list | |
| 8. If something goes wrong, restart from the begining | |
| 9. go to /tmp/cert/live/DOMAIN and get your certificates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment