• Register
1 vote

Problem :

I am very new to wget. Currently I want to wget to my current box but I am facing below error:

wget http://example.com

--2013-03-01 15:03:30--  http://example.com/

Resolving example.com...

Connecting to example.com||: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...

Connecting to www.example.com||:443... connected.

OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

Unable to establish SSL connection.

I have already tried to do research on it and tried to find solution on it. But unable to do so as I am very new to wget. I need expert help to fix by above wget error.


9 6 2
3,980 points

Please log in or register to answer this question.

1 Answer

1 vote

Solution :

I think the reason behind you are facing wget error is your OpenSSL might be receiving something else other than the ServerHello in your protocol version it understands from your server. It is very possible that it is happening because the server is trying to answer with the plain HTTP which is unencrypted. It can also start appearing if your server is only supporting the TLS 1.2 and your client is somehow unable to understand that protocol version. Normally now a days all the servers are backward compatible to at least the SSL 3.0 / TLS 1.0  but I guess your this specific server is not.

I had also faced this issue as I had not enabled my sites 'default-ssl'. Only the '000-default' was listed in my /etc/apache2/sites-enabled folder.

So to enable the SSL site on Ubuntu 14 LTS, Apache 2.4.7 I used below commands:

a2ensite default-ssl
service apache2 reload

Hope it helped you to fix wget error.

5 4 2
17,150 points

Related questions

0 votes
2 answers 1.4K views
Problem: I am attempting to download records from a https webpage and continue getting the accompanying error: OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure Unable to establish SSL connection. From perusing sites online I assemble I need to give ... alternative however that didn't work. wget version: wget-1.13.4 openssl version: OpenSSL 1.0.1f 6 Jan 2014
asked Nov 30, 2019 alecxe 7.5k points
0 votes
1 answer 381 views
Problem : I have upgraded to PHP 5.6 I am getting an error as follows whenever I am trying to connect to the server via fsockopen(). The certificate on the server or host is self signed. PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages ... se/ca/cacert.pem The php.ini openssl.cafile = "/etc/ssl/certs/cacert.pem" But the script is still failing to work as expected.
asked Nov 26, 2019 alecxe 7.5k points
1 vote
1 answer 2 views
Problem : I ran into the problem of sending and receiving git. I just installed new version of gitlab, after new installation ssl is not working... it throws SSL23_GET_SERVER_HELLO:sslv3 alert handshake error. ssh is working fine.
asked 6 hours ago Shovo210 3.9k points
0 votes
1 answer 19 views
Problem: On a router with merlin firmware, I installed entware and python, after I ran speedtest python script. It shows error: python2.7# speedtest Retrieving speedtest.net configuration... Cannot retrieve speedtest configuration ERROR: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)>
asked Jan 23 Mashhoodch 10.2k points
0 votes
1 answer 103 views
Problem : I am currently using the SourceTree and trying to clone it from the general github repository, but I am facing below error: &ldquo;Fatal: unable to access 'https://github.com/mfitzp/15-minute-apps.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Completed with errors, see above.&rdquo; How can I resolve it?
asked Jan 3, 2020 alecxe 7.5k points
0 votes
1 answer 2.4K views
Problem : I had to remove a +CompatEnvVars from following : SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire As it said it was an invalid command or something. So having removed that and following a instructions to a nail it get below error: ... maximum permissible length. (Error code: ssl_error_rx_record_too_long) I am very new to SSL, any advice on what is going wrong?
asked Jan 17, 2020 jwilliam 3.9k points
0 votes
2 answers 340 views
Problem : I am trying to use the XAMPP and also started Apache but I cannot access my site over the HTTPS. I am facing the below error : [Mon Dec 16 08:05:33.208723 2019] [ssl:warn] [pid 3784:tid 256] AH01909: RSA certificate configured for www.example ... RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name What is wrong and how can I correct it?
asked Dec 17, 2019 alecxe 7.5k points
0 votes
1 answer 14 views
Problem : Curl : Protocol https not supported or disabled in libcurl
asked Feb 23 Shovo210 3.9k points
0 votes
1 answer 14 views
Problem: unable to load config info from /usr/local/ssl/openssl.cnf
asked Feb 20 charles mathews 3.9k points