Connection refused HTTPS on Apache
Solution 1:
I finally fixed this by noticing I hadn't installed mod_ssl
.
sudo yum install mod_ssl
Solution 2:
I added this in httpd.conf
and restarted Apache:
Listen 443
And it's working now.
Solution 3:
Using a Debian install, I can only assume it has to be the same reason as with this Ubuntu bug.
Reordering the listen directives in /etc/apache2/sites-available/default-ssl.conf solves this. Patch
Solution 4:
As you have created a virtual host, the SSL for the new host should be different than port 80, because you have enabled SSL for port 80 via 443. So for new virtual host, try with 636 and see.