• Register
1 vote
337 views

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... 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 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.6K views
1.6K 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 455 views
455 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
0 votes
1 answer 43 views
43 views
Problem: How to I Solve this: openssl: error:140ab18e:ssl routines:ssl_ctx_use_certificate:ca md too weak HELP! I need help understanding this: openssl: error:140ab18e:ssl routines:ssl_ctx_use_certificate:ca md too weak Can someone please help solve this, I am new in python(). Someone have idea to solve this thanks!
asked Mar 6 Mashhoodch 13k points
1 vote
1 answer 13 views
13 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 Mar 4 Sabbir Hossain 14.6k points
0 votes
1 answer 6 views
6 views
Problem: I'm using the node-request module, regularly sending GET requests to a set of URLs and, sometimes, getting the error below on some sites. Error: 29472:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:683 Any help is appreciated.
asked Mar 23 ummesalma 29.2k points
0 votes
1 answer 10 views
10 views
Problem: how to I Solve this: python ssl certificate_verify_failed HELP! I need help understanding this: python ssl certificate_verify_failed Can someone please help solve this, I am new in python(). Someone have idea to solve this thanks!
asked Mar 9 Mashhoodch 13k points
0 votes
1 answer 42 views
42 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 13k points
0 votes
1 answer 9 views
9 views
Problem: The following curl request returns an error. Can someone explain what is going wrong and how to correct it. I already tried to force curl to use different ssl versions (--sslv3 and --sslv2) but this did not work. ... :SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version * Closing connection #0 curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
asked Apr 25 sumaiya simi 43.9k points
0 votes
1 answer 148 views
148 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 17 views
17 views
PROBLEM : Someone help me to fix this Please on > 'curl: (35) unknown ssl protocol error in connection' ?
asked Mar 16 Samiur1 38.4k points