Verify if curl is using TLS

后端 未结 2 1421
别跟我提以往
别跟我提以往 2020-12-23 21:22

In my PHP app I use PHP\'s CURL and openssl, to connect and talk using SOAP. Until now, remote server supported SSL and TLS but because of \"poodle\" bug, admin decided to d

2条回答
  •  自闭症患者
    2020-12-23 22:05

    Use https://tlstest.paypal.com:

    For example:

    $ curl https://tlstest.paypal.com/
    ERROR! Connection is using TLS version lesser than 1.2. Please use TLS1.2
    
    $ ./src/curl https://tlstest.paypal.com/
    PayPal_Connection_OK
    

提交回复
热议问题