Coder Social home page Coder Social logo

Comments (4)

bluk avatar bluk commented on August 27, 2024 2

The script for testing TLS 1.2 is updated for environments where TLS 1.2 is possible but not in the list of defaults. The Braintree issue will be addressed in the linked issue. The PayPal PHP library should use the equivalent of curl_setopt($ch, CURLOPT_SSLVERSION, 6); by default.

from tls-update.

braebot avatar braebot commented on August 27, 2024

Can you please clarify? What was the error when you did not force the CURLOPT_SSLVERSION?

from tls-update.

riccardomessineo avatar riccardomessineo commented on August 27, 2024

I'm using PHP, and I'm executing the command php -f TlsCheck.php after the creation of cacert.pem and TlsCheck.php

This is the output with your code:

string(17) "SSL connect error"
DEBUG INFORMATION:
###########
CURL VERSION:
{
    "version_number": 463623,
    "age": 3,
    "features": 1597,
    "ssl_version_number": 0,
    "version": "7.19.7",
    "host": "x86_64-redhat-linux-gnu",
    "ssl_version": "NSS\/3.21 Basic ECC",
    "libz_version": "1.2.3",
    "protocols": [
        "tftp",
        "ftp",
        "telnet",
        "dict",
        "ldap",
        "ldaps",
        "http",
        "file",
        "https",
        "ftps",
        "scp",
        "sftp"
    ]

This is the output with the option enabled:
PayPal_Connection_OK

from tls-update.

raknjak avatar raknjak commented on August 27, 2024

Related?
braintree/braintree_php#160

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.