Replacing expired certificate with LetsEncrypt


#1

Please fill out the fields below so we can help you better.

My domain is: getapplr.com

I ran this command: certbot --apache -d getapplr.com -d www.getapplr.com

It produced this output: Congratulations! You have successfully enabled https://getapplr.com and https://www.getapplr.com and

My operating system is (include version): CentOS7

My web server is (include version): Apache2

My hosting provider, if applicable, is: Linode

I can login to a root shell on my machine (yes or no, or I don’t know): Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No

Hi, I followed digitalocean’s instructions (https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-centos-7) and got a success message from CertBot but my site still says it has an expired certificate (previously used namecheap for an SSL cert). Any ideas how I get my site to use the new LE cert and not the expired one?

Thanks!


#2

You will need to edit your apache config, and change the links in there for the SSL from the old cert, to the new ones ( which should be in /etc/letsencrypt/live/getaaplt.com/ ) then reload apache.


#3

Thanks. For those in a similar situation to me, I used the following example configs (replace example.com with yours):

SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/example.com/fullchain.pem


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.