Skip to content

Instantly share code, notes, and snippets.

Last active Sep 25, 2020
What would you like to do?
GoDaddy + LetsEncrypt Certificate Installation

GoDaddy + LetsEncrypt Certificate Installation

Valid as of September 2020

note: if you have shell access and want to automatically renew, follow the steps on this page instead

Much of the current documentation on this from LetsEncryt and Godaddy suggests that this is a very hard thing to do - but I'm okay with spending 10 minutes every 2-3 months for a free, quality SSL certificate. If you are too, here's how I do it.

Run the certbot command

Here's my certbot command (replace and * with your own):

certbot certonly --manual -d -d * --preferred-challenges dns-01 --server

Add TXT Records

From the GoDaddy Admin site, navigate to your site's DNS management screen:

  • Domain Manager (or Domains)
  • > [...] > Manage DNS
  • Add

Host will be _acme-challenge (ie: the text record name WITHOUT the domain name part) and TXT Value will be whatever your certbot command prompted. This will have to be done twice if you're using a wildcard like me, since that counts as two domains. TTL can be very short since it's only a one-time thing.

Add Certificate

Within Godaddy site, navigatate to CPanel SSL/TLS screen:

  • My Hosting (alias Hosting & Wordpress, ...and others)
  • [Site Name] > [...] > Settings
  • File Manager
  • CPanel Home
  • Click Manage SSL sites.

Certificate: (CRT) will be the first section of fullchain.pem that certbot generated, including the BEGIN and END lines.

Private Key (KEY) will be the entire file named privkey.pem that certbot generated.

Certificate Authority Bundle: (CABUNDLE) will be the second section of fullchain.pem that certbot generated, including the BEGIN and END lines.

Click Install Certificate and you're done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment