Letsencrypt in Debian 10 (buster) for Apache

#letsencrypt #apache #https

Many tutorials on the internet (including the official one) giving installation options for your letsencrypt which are actually not the easiest ones. The official one says “install snap”, which i don’t really want to do and many others say “use debian backports”. This is actually not necessary (anymore), its in the normal repo and you can just install your cert via:

# apt-get install python3-certbot-apache certbot

# certbot –apache -d <YOUR_DOMAIN>

And you’re done. Just don’t forget the package python3-certbot-apache or certbot won’t know what an apache is.