Reputation: 1683
I just followed the steps for using SSL on localhost: https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04
But when i access https://localhost, i get this message:
Page Web inaccessible
ERR_CONNECTION_REFUSED
I'm using Apache2 with Ubuntu trusty on Vagrant.
Let me know if you want more informations.
Thank's
Upvotes: 2
Views: 15639
Reputation: 2007
The problem could be due to Apache performing a reverse DNS lookup on the URL - the result of which does not match any of your PC's aliases.
Try https://127.0.0.1
or https://<hostname>
.
Upvotes: 0
Reputation: 2204
There are three possibilities about this message:
Your Apache SSL/TLS protocols do not match with those of your browser.
Try something like the following from a command prompt: openssl s_client -connect localhost:443
to test the SSL/TLS connection. Please update your question with the output.
May be there is a firewall between your browser and your Apache server?
Upvotes: 2