A few days ago I used CERTBOT to install SSL on my website which is running on APACHE2 on my Raspberry Pi (Debian 10). After the process has finished, I found that I could no longer access my website with my domain (registered at Godaddy.com) which says “ERR_CONNECTION_REFUSED”. Strangely, I could still access the website with my public IP address.
Since then I have been desperately looking for a solution online for more than 12+ hours yet I still could not find a solution. Today I reset my home router, re-installed my Raspberry Pi and still I am facing the same issue…
Some more information:
My Godaddy account has an “A” record and Host “@” that points to my IP address.
My router now forward both 80 and 443.
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: zenfleurs.com (18.104.22.168)
I ran this command: sudo certbot certonly --apache
It produced this output: "ERR_CONNECTION_REFUSED"
My web server is (include version): Apache2
The operating system my web server runs on is (include version): Raspberry Pi (Debian 10)
My hosting provider, if applicable, is: Self-hosting
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
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot):