Hi! I had my website setup with a Let’s Encrypt certification using the certbot command. I guess I messed up the autorenew, because it expired recently. When I went to go renew it, I found that under Account -> Security there was a section to press a button and create an auto-renewing certificate, no Linux required. I created a certificate, but Firefox still says the certificate is expired when I try to access the website.
I have my domain from Google Domains (I guess Squarespace now?) pointing to the DigitalOcean nameservers, and then my DNS is set up on DigitalOcean. I thought that the certificate I created would be applied automatically since I use DigitalOcean DNS, but that doesn’t seem to be the case. How do I get that certification to go into effect? Do I have to configure something within nginx?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Heya @16650610e4b04364a53b38ec08bfe9,
If you are using a Droplet, the certificate can’t be added automatically.
If you are indeed using a Droplet, I’ll recommend you to SSH to your Droplet and run the command
If you have multiple certificates for different domains and you want to renew a specific certificate, use:
Copy
The
--force-renew
flag tells Certbot to request a new certificate with the same domains as an existing certificate. The-d
flag allows you renew certificates for multiple specific domains.To verify that the certificate renewed, run:
Copy
If the command returns no errors, the renewal was successful.
Heya,
On a droplet you need to handle the installation manually.
You can check our docs on how to install an SSL Certificate here:
https://docs.digitalocean.com/support/how-do-i-install-an-ssl-certificate-on-a-droplet/
Regards