PHP Curl Error OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Purpose:

I want to curl to https://accounts.tokopedia.com/token

Known:

Client PHP 5.3.5 installed

Problem:

When i run the php code then error “OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version” displayed

Question:

How to fix this error … ?

Answer:

I updated to new PHP version and today is PHP 7.4 and all working fine

Thanks for reading

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *