Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • What version of apache do you have? execute apache2 -v. What version of ubuntu you have? execute lsb_release -a. Did you manually create the httpd.conf file? Commented Feb 25, 2016 at 23:56
  • Apache version is Apache/2.2.22 (Ubuntu). Ubuntu version is Ubuntu 12.04.5 LTS. I did not manually create the httpd.conf file Commented Feb 26, 2016 at 0:00
  • Try setting the configuration only in the SSL virtual hosts file (/etc/apache2/sites-available/default-ssl). Make a copy of the current httpd file and/or rename it. Give a try Commented Feb 26, 2016 at 0:11
  • NameVirtualHost is obsolete now, no so sure about 2.2.x; what happens when you comment out the two NameVirtualHost lines, and add a Listen 80 before the Listen 443 line? Commented Feb 26, 2016 at 13:46
  • I tried your suggestion @RuiFRibeiro with no luck. With your suggestion @tachomi I can access the website on port 80 but when I try https I get ERR_SSL_PROTOCOL_ERROR. I'll update the question Commented Feb 26, 2016 at 16:43