How to avoid curl to try to connect with a https site using SSLv3 by default

880 views Asked by At

I need to connect from my CentOS 5 machine to sites over a https connection.

The problem is that by using curl, by default, it tries to connect using SSLv3 which is not supported in the server, so, the connection fails.

How can I disable completely the support for SSLv3 in client? the fact is that I cannot try to override the configuration by using some command line switch because I have some binaries that use curl functionality inside.

1

There are 1 answers

1
name007 On

you can use this switch to change the version --sslv2 check out curl documentation https://curl.haxx.se/docs/manpage.html