cURL connects with the website using SSL – This is a usual process between the server and you! Sometimes, it will show an error by saying cURL isn’t connecting with your website. And, you need to search for the solution right now! We’ll give you some guess maybe the package of cURL is outdated or mismatch version of PHP.
What exactly is cURL? It is nothing but “Client for URL”! Yes, PHP takes the responsibility to connect cURL with your website using SSL. Whenever the server takes the first step to getting connected with the SSL website it retrieves a message of error saying
Maybe the handshake of TLS or SSL is the reason behind this error.
Let’s confirm this error in detail:
The error you got with the number is 35 and it says SSL is not ready for connection. Check the package of cURL and the version in-between protocol of SSL and cURL PHP.
Let’s start the fix by referring to the webserver log – The webserver log gives a detailed explanation on handshake of TLS or SSL.
Solution: Update the latest package of SSL protocol and cURL for better results.
This command will give the result of the current version you using up. After the check, you can move on with the new version of cURL. Once if you update the new version of cURL then start update on NSS (Network Security Services) using the below-mentioned command:
By now, you won’t be visible with error 35.
Solutions: Check the package of cURL and make it according to the current situation!
Use the below-mentioned command for checking the settings of cURL:
If the setting is correct please confirm it by below results:
Here, the version is correct so, no more error 35.
Solution: Check the current version of cURLand configuration settings too!
Solution: Do check on the server activity whether it accepts the connection of SSL only from the chosen network and APIs.
We have given you more steps and analysis for cURL can’t connect with SSL connections. I Hope, you might get an idea for improper connections between cURL and SSL protocol. Look out our solutions deep to figure out current scenarios. We have depicted the nature of cURL customization and SSL protocol activity. Guess it gives a way for the fix!
What exactly is cURL? It is nothing but “Client for URL”! Yes, PHP takes the responsibility to connect cURL with your website using SSL. Whenever the server takes the first step to getting connected with the SSL website it retrieves a message of error saying
Code:
cURL error (35): SSL connect error.
Let’s confirm this error in detail:
The error you got with the number is 35 and it says SSL is not ready for connection. Check the package of cURL and the version in-between protocol of SSL and cURL PHP.
Let’s start the fix by referring to the webserver log – The webserver log gives a detailed explanation on handshake of TLS or SSL.
- Destination website SSL protocol:
Solution: Update the latest package of SSL protocol and cURL for better results.
- cURL outdated package:
Code:
rpm -qa | grep curl
Code:
yum update -y nss
Solutions: Check the package of cURL and make it according to the current situation!
- Configuration of customized cURL:
Use the below-mentioned command for checking the settings of cURL:
Code:
php -i | grep -i curl
Code:
/etc/php.d/curl.ini,
curl
cURL support => enabled
cURL Information => 7.66.0
Solution: Check the current version of cURLand configuration settings too!
- Restrictions in the firewall:
Solution: Do check on the server activity whether it accepts the connection of SSL only from the chosen network and APIs.
We have given you more steps and analysis for cURL can’t connect with SSL connections. I Hope, you might get an idea for improper connections between cURL and SSL protocol. Look out our solutions deep to figure out current scenarios. We have depicted the nature of cURL customization and SSL protocol activity. Guess it gives a way for the fix!