Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Stop after done `sudo yum install -y certbot python2-certbot-apache`


Do the following steps

...

  • Use the command line below to

...

  • createNote: There can be multiple domains in command, e.g. `-d diaper.cf -d *.diaper.cf` (where * is a wildcard)

...

  • Note: (The order is important)

  • First deploy DNS TXT record under the prompted domain (do so at website of freenom), pause for 5 minutes for it to activate, use the website below (MxToolbox) to verify it’s been activated (mind the value must be correct) then hit continue (otherwise will fail)

  • Note: If you include multiple domains, you will be required to enter multiple DNS TXT records

  • [DNS Lookup Text Record - MxToolbox](https://mxtoolbox.com/TXTLookup.aspx)


Command line to use

Code Block
sudo certbot certonly --manual --preferred-challenges=dns --email diapertestemail@gmail.com --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d diaper.cf -d *.diaper.cf

...

Note SSL cert is a separate thing to register besides domain. These two need to be renewed separately.


How to renew?

Redo the steps under "Do the following steps" above


Copy cert files to somewhere docker can access and give permission

...