modssl+apache : https is hanging !?

sucram

Registered
Hi guys & Gals

I recently enabled modssl+openssl in apache. I double checked and the install went fine. I edited the httpd.conf to use Virtual Servers to bind my 80 & 443 ports. I've restarted apache a ton of times using the -D SSL switch. Problem is.... http works fine, but https just hangs and then gets a cannot connect error. This is the error im pulling from curl

kungf00:~ root# curl https://127.0.0.1/
curl: (35) SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol


Anyone know what that means ? Thanks!!!
 
Have you verified that you have port 443 open?

All of the below is from OS 10.3.3, other versions may be slightly different.

If you go to system preferences->Sharing:
Click on the Services button
Make sure that Personal Web Sharing is checked

Click on the Firewall button:
You will notice that Personal Web Sharing is for ports 80 and 427.
Click the new button:
You will pull up a new sharing screen. In the dropdown click other
In the Port Number, Range, Series window add in 443 and in the Description window write in HTTPS or whatever you want and click OK.

Verify that HTTPS (or whatever you called it) is checked in the Firewall window.

This more than likely will fix your problem.

Good luck!!!!!
 
Have you made a site certificate, and told apache where to find it (or does that happen automatically on a Mac - I just know you'd have to do that in Linux)
 
There was another thread that talked about an Apache change made in OS X 10.3 SERVER... It introduced a caching mechanism that confilicted with SSL.

You didn't mention if you were on Server, but I thought I'd mention it.

:)
 
Back
Top