Question

configure apache to use let's encrypt ssl

Posted July 22, 2021 92 views
ApacheSecurity

My site is using a certificate I created a while back, something I hardly remember doing. It’s not from a cert authority so will not be considered secure.
https://sfare.scoregod.com/falkenbrew/sfare/client.html?1626707979

I recently discovered the option to use let’s encrypt certificates in Settings->Security (Certificates for Load Balancers and Spaces). I’m not 100% sure I can use this though, as I don’t know what the load balancers and spaces are. But I managed to create a certificate but I do not know how to apply it.

my virtual host configuration contains following lines
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key

I’m pretty sure I configured this and that the .crt showing on my site is the one in this folder. I’ve tried removing these lines, but then my site no longer works as no HTTPS is available for it.

I was wondering if I somehow can add a reference to the newly created let’s encrypt certificate, but I could not find it on my server.

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.

×
Submit an Answer
1 answer

Hi @marcgfx,

DigitalOcean has written a pretty good tutorial on how to secure Apache with let’s encrypt.

You can check out the tutorial here;

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04

In this guide, you’ll use Certbot to obtain a free SSL certificate for Apache on Ubuntu 20.04, and make sure this certificate is set up to renew automatically.

by Erika Heidi
Let's Encrypt is a Certificate Authority (CA) that facilitates obtaining and installing free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. Currently, the entire process of obtaining and installing a certificate is fully automated on both Apache and Nginx with the use of Certbot. In this guide, we'll use Certbot to obtain a free SSL certificate for Apache on Ubuntu 20.04, and make sure this certificate is set up to renew automatically.