I have a website running successfully on Apache port 80 HTTP (on a temporary subdomain).
I am following this tutorial in order to setup an SSL certificate on Apache2, Ubuntu using LetsEncrypt with certbot:
The following steps have been performed:
sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-apache sudo certbot --apache -d example.com -d www.example.com
The latest step fails with a
message, maybe because the site is behind a proxy and/or because example.com is not live yet (the DNS A and CNAME records are not set yet, as there should be a fluent change from the old host and the website is already live).
Therefore I have to setup the certificate manually before the DNS records are set. I have discovered that certbot has a
--manual option: https://certbot.eff.org/docs/using.html#manual
I also have a .cert file for example.com from LetsEncrypt if this is more useful?
However this is where I am stuck and where I do not know how to proceed correctly (yes I am quite of a noob to server setups).
Can you tell me what is/are the next step(s) in order to setup this ssl certificate in a manual manner correctly?