Question

configure apache to use let's encrypt ssl

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.

Subscribe
Share

Submit an 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.

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.