Home >Backend Development >PHP Tutorial >How to Fix \'SSLRead() return error -9806\' After Upgrading to OSX 10.10 Yosemite?
Solved: Curl POST to HTTPS Url After Upgrading to OSX 10.10 Yosemite
If you've encountered the error "SSLRead() return error -9806" after upgrading to OSX 10.10 Yosemite, you're not alone. This issue arises when making Curl POST requests to SSL URLs.
The problem stems from the fact that php is currently being compiled with cURL versions that employ Apple's Secure Transport under Yosemite. However, many target URLs for these requests no longer support SSLv3, which has been disabled due to the POODLE vulnerability.
Solution
To resolve this issue, you'll need to install a php version that utilizes cURL with OpenSSL instead of Secure Transport. Here's a step-by-step guide:
Configure Apache or Nginx:
Now, the "SSLRead() return error -9806" should no longer appear when you attempt Curl POST requests to HTTPS URLs.
The above is the detailed content of How to Fix \'SSLRead() return error -9806\' After Upgrading to OSX 10.10 Yosemite?. For more information, please follow other related articles on the PHP Chinese website!