AnsweredAssumed Answered

Unable to establish SSL connection, how do I fix my SSL cert?

Question asked by Tejaswini U on Jan 19, 2017

I'm trying to wget to my own box, and it can't be an internal address in the wget (so says another developer).

When I wget, I get this:

wget --2013-03-01 15:03:30-- Resolving Connecting to||:80... connected. HTTP request sent, awaiting response... 302 Found Location: [following] --2013-03-01 15:03:30-- Resolving Connecting to||:443... connected. OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol Unable to establish SSL connection.

I believe it is because I do not have the certificate setup properly. Using openssl:

openssl s_client -connect CONNECTED(00000003) 15586:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:588:

While if I do the same command on another site, it shows the entire cert.

Perhaps the ssl cert was never setup in the conf file on Apache for that domain?

If so, what should I be specifying in the virtualhost? Is there any alternative other than specifying --no-certificate-check because I don't want to do that?