I really struggled with this one for a whole day, I couldn’t for the life of me figure out when I did:
server:~ john$ curl -v https://www.sipmeeting.com * About to connect() to www.sipmeeting.com port 443 (#0) * Trying 220.127.116.11... * connected * Connected to www.sipmeeting.com (18.104.22.168) port 443 (#0) * SSLv3, TLS handshake, Client hello (1): * error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112) * Closing connection #0
It would always error, but when I added the -3
curl -v -3 https://www.sipmeeting.com
in front bingo, it would work. It was causing an issue for one of my new applications. It needed to work. I thought maybe only sslv2 is supported. I googled high and low to try and find the solution. Then finally this evening I am sitting here watching a movie and I came cross the answer!
http://blog.kapsi.de/blog/git-curl-apache-openssl-and-https had it, I needed to set my ServerName in my /etc/apache2/modules.d/40_mod_ssl.conf (I use Gentoo) then I changed ServerName from localhost to
www.sipmeeting.com and bingo, good to go!
#ServerName localhost ServerName www.sipmeeting.com
The trick is to make sure that ServerName is the same as the Common Name (CN) on your ssl certificate.
I hope this helps and I thank the original blog I found!
Thanks for the read and I hope this helps you as well!