When I execute the following command in Ubuntu:
curl -v --insecure -XGET 'https://user:pass@IP_ADDR:PORT/SOME_FILE.php'
I get this output:
* Hostname was NOT found in DNS cache
* Trying IP_ADDR...
* Connected to IP_ADDR (IP_ADDR) port PORT (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
And after several minutes I get this:
* Unknown SSL protocol error in connection to IP_ADDR:PORT
* Closing connection 0
curl: (35) Unknown SSL protocol error in connection to IP_ADDR:PORT
When I try the same thing in CentOS I still get stuck in Client Hello
, but in the end I get this:
curl: (28) Operation timed out after 0 milliseconds with 0 out of 0 bytes received
Does anyone knows what can cause it and how can I fix it?