Hello,
I have generated a lets encrypt certificate using the the following command:
sudo certbot --manual -d domain.com --preferred-challenges dns certonly
I have then researched and read that certonly parameter does not attempt to install the certificate on your web server it just generates it.
So now I'm looking for a guide on how to install the generated certificate on my apache2 server.
If you already have a VirtualHost configured in Apache for domain.com, you can ask Certbot to install it:
certbot install --cert-name domain.com
Be aware also that certificates created via --manual (without --manual-auth-hook) will not automatically renew. You will have to repeat all the same steps 60-90 days from now, to avoid your certificate expiring.
If you can use a non-manual method to getting the certificate (like --apache or a DNS plugin), that would be vastly superior.