Coder Social home page Coder Social logo

Comments (4)

remicollet avatar remicollet commented on August 27, 2024 2

Notice than TLSv1.2 is available on RHEL / CentOS 6 and 7 curl version :

  • curl-7.19.7-43.el6
  • curl-7.29.0-16.el7
    $ curl --version
    curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2

    $ curl --tlsv1.2 -I https://tlstest.paypal.com/
    HTTP/1.1 200 OK

From PHP

$ php -r '
    defined("CURL_SSLVERSION_TLSv1_2") or define("CURL_SSLVERSION_TLSv1_2", 6);
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://tlstest.paypal.com/");
    curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
    var_dump(curl_exec($ch));'
PayPal_Connection_OKbool(true)

from tls-update.

braebot avatar braebot commented on August 27, 2024

Thanks @mpchadwick. Do you think we should add a blurb about that in the main readme of this repo?

from tls-update.

braebot avatar braebot commented on August 27, 2024

If you think we can update our readme, please submit a Pull Request. Thanks for your contribution!

from tls-update.

zx1986 avatar zx1986 commented on August 27, 2024

I got error with:

libcurl  7.19.7
NSS 3.12.9.0
libssh2   1.2.2

from tls-update.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.