You are right about that. I’ve disabled the cloudflare SSL about an hour ago to see whether or not let’s encrypt works and that almost broke my site. For some odd reason, logging into user accounts is still impossible and the shop software doesn’t allow me to enable ssl again because it can’t verify that it works. Those however aren’t the problem.
The problem is, that, if you ignore ssllabs.com’s analysis of the domain, https doesn’t work anymore as soon as I’ve disabled cloudflares ssl. Which lead me to assume that the let’s encrypt ssl certficicate doesn’t work. It’s easier to see on the linked image. (as in, the image is hosted on that domain. So if you open it in the browser, you can actually see that despite using https, the connection is insecure.
If you now check ssllabs.com again, you’ll see that it doesn’t quite work
If you want to see Let's Encrypt certificates in the browser rather than Cloudflare's certificates, then you need to totally disable Cloudflare by making sure none of your DNS records have the "orange cloud" enabled on them. After that, you'll need to wait for your DNS records to update from the Cloudflare proxy to your actual server's IP address:
If you disabled Cloudflare SSL in any other way, then yes, it would mess your site up.
Apache doesn’t seem to be listening on port 443 at all. Which is strange, because Certbot should have setup an HTTPS listener if you ran the command you said you did.
It indeed is. I just ran down one of the tutorials on digitalocean. Let me try to find out which one it was … but if I recall it correctly it was related to getting multiple domains work on different sub folders and so on. So yes, this is the whole content of the file.
If you can zip up and upload your /etc/apache2/ directory (assuming it has no sensitive information in it) I could try see where Certbot is tripping up, or someone else might stop by and have an idea about what’s wrong.
Well, your Apache directory worked for me - I was able to issue and install a certificate using your command, just substituting your domain for my own.
You indeed wear smartypants. certbot certificates gave me the error I needed to see. I'm runnin 0.25.0 but that shouldn't be a big deal. Appareantly certbot doesn't have the permissions needed.
The following error was encountered:
[Errno 13] Permission denied: '/var/log/letsencrypt/.certbot.lock'
Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.