I try wget in my own mailbox, and it cannot be the internal address in wget (another developer says so).
When I wget, I get the following:
wget http://example.com --2013-03-01 15:03:30-- http://example.com/ Resolving example.com... 172.20.0.224 Connecting to example.com|172.20.0.224|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://www.example.com/ [following] --2013-03-01 15:03:30-- https://www.example.com/ Resolving www.example.com... 172.20.0.224 Connecting to www.example.com|172.20.0.224|:443... connected. OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol Unable to establish SSL connection.
I believe this is because I do not have the certificate setup correctly. Using openssl:
openssl s_client -connect example.com:443 CONNECTED(00000003) 15586:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:588:
While I am doing the same command on another site, it shows the entire certificate.
Perhaps the ssl certificate was never configured in a conf file on Apache for this domain?
If so, what should I specify in the virtual host? Is there an alternative other than specifying --no-check-certificate because I don't want to do this?
ssl apache openssl wget
meder omuraliev Mar 01 '13 at 21:11 2013-03-01 21:11
source share