Wise Builds cURL Options

Description

Description: Allows configuration and testing of cURL connection options for individual services such as Paypal or Moneris who have changing connection requirements that the WordPress defaults may not satisfy on your server.

Please refer to the PHP documentation for options and valid values:

Note the versions of PHP when various constants were defined. Some constant option values such as CURL_SSLVERSION_TLSv1_2 for CURLOPT_SSLVERSION can still be set using their integer values prior to their definition in PHP. There will be some trial and error involved to determine what works on your server depending on the version of PHP and cURL and which cryptography library was used to build cURL. Thus the testing function, which should come in handy for this (at least for http(s) POST requests).

Note the cipher suite string formats for CURLOPT_SSL_CIPHER_LIST option values are dependent on the cryptography library that was used to build cURL:

(Unfortunately the NSS cipher names seem to only be available there, you can save it locally to view the page in your browser)

Note that for cURL built with NSS, the mod_nss-style cipher definitions do not appear to work; the individual cipher names must be used. Cipher strings may work with cURL built with OpenSSL. Again, there will be some trial and error involved to determine what works on your server.

For advanced users, site administrators and developers.

If you find Wise Builds cURL Options useful, please consider making a donation to support maintenance of the plugin and development of similar plugins, thanks!

Screenshots

  • An example of the options page on a shared hosting server provisioned in 2011 running PHP 5.4.45 with cURL 7.19.7 built with NSS 3.19.1.

Installation

  1. Upload the plugin folder ‘reid-plugins-curl-options’ to the ‘/wp-content/plugins’ directory, or install the plugin through the WordPress plugins page directly.
  2. Activate the plugin through the ‘Plugins’ page in WordPress.
  3. Configure options under Settings -> cURL Options.

Reviews

November 21, 2018
Solved issues with WooCommerce and PayPal on servers with cURL/NSS installed. Amazing!
September 3, 2016
Provides the ability to set cURL options such as forcing ciphers on environments unable to auto negotiate. For example; PayPal IPN through cURL on CentOS. Host: 1&1, dedicated server OS: CentOS
September 3, 2016
I had an issue with PayPal sandbox and an IPN connection on a server hosted with Host Gator, getting the error "SSL connect error." Installed this plugin and set the CURL option for CURLOPT_SSLVERSION to 6 and problem solved. I am assuming the reason this plugin was initially created was for this same PayPal issue as the plugin's examples where for PayPal sandbox. 5 stars for an easy way to set Curl options in WordPress. Thanks!
Read all 3 reviews

Contributors & Developers

“Wise Builds cURL Options” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.3

  • Release date: 2019-06-28
  • Tested on WordPress 5.2.2

1.1.2

  • Release date: 2017-11-10
  • Tested on WordPress 4.9

1.1.2

  • Release date: 2017-11-10
  • Tested on WordPress 4.9

1.1.1

  • Release date: 2017-08-24
  • Tested on WordPress 4.8.1
  • Updated cipher suite links in readme.txt description
  • Added icons to wordpress.org plugin page

1.1

  • Release date: 2016-12-09
  • Tested on WordPress 4.7
  • Updated to use new Requests library in WP 4.7
  • Adjusted plugin action priority
  • Renamed plugin (same developer, new business)
  • Added donation link

1.0.1

  • Release date: 2016-04-23
  • Initial Release