The problem that I am having is that the certificate is not trusted by the browser. I have not modified anything in the apache server configuration. I am not well versed into apache anyway.
My domain is: husainalshehhi.com
I ran this command:
$ sudo apt-get update $ sudo apt-get install software-properties-common $ sudo add-apt-repository ppa:certbot/certbot $ sudo apt-get update $ sudo apt-get install python-certbot-apache $ sudo certbot --apache
It produced this output:
I don’t remember the exact output, It was successful though. But when I run it again, it gives me something similar to
IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/husainalshehhi.com/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/husainalshehhi.com/privkey.pem Your cert will expire on 2018-05-18. To obtain a new or tweaked version of this certificate in the future, simply run certbot again with the "certonly" option. To non-interactively renew *all* of your certificates, run "certbot renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le
My web server is (include version): Apache/2.4.25 (Unix)
The operating system my web server runs on is (include version): Ubuntu 14.04
My hosting provider, if applicable, is: Azure
I can login to a root shell on my machine (yes or no, or I don’t know): yes.
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no.