PHPackages                             pronamic/wp-http-extended-ssl-support - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. pronamic/wp-http-extended-ssl-support

ActiveLibrary[HTTP &amp; Networking](/categories/http)

pronamic/wp-http-extended-ssl-support
=====================================

v1.0.0(1y ago)12061GPL-2.0-or-laterPHPPHP &gt;=8.1

Since Sep 9Pushed 1y ago4 watchersCompare

[ Source](https://github.com/pronamic/wp-http-extended-ssl-support)[ Packagist](https://packagist.org/packages/pronamic/wp-http-extended-ssl-support)[ RSS](/packages/pronamic-wp-http-extended-ssl-support/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (1)

Additional SSL Options for WordPress HTTP API
=============================================

[](#additional-ssl-options-for-wordpress-http-api)

This library extends the WordPress HTTP API with additional SSL options. It provides the option to pass the cURL options `CURLOPT_SSLCERT`, `CURLOPT_SSLKEY` and `CURLOPT_SSLKEYPASSWD` to requests.

Usage
-----

[](#usage)

```
\wp_remote_get(
	$url,
	[
		'ssl_certificate'  => \ABSPATH . '/../private/your-certificate.pem',
		'ssl_key'          => \ABSPATH . '/../private/your-key.pem',
		'ssl_key_password' => 'your-password',
	]
);
```

```
\wp_remote_get(
	$url,
	[
		'ssl_certificate_blob' => '-----BEGIN CERTIFICATE-----', // Must be a full SSL certificate string.
		'ssl_key_blob'         => '-----BEGIN ENCRYPTED PRIVATE KEY-----', // Must be a full SSL key string.
		'ssl_key_password'     => 'your-password',
	]
);
```

TLS backends and cURL
---------------------

[](#tls-backends-and-curl)

It is good to realize that PHP and cURL can work with different TLS backends. Not all TLS backends have support for all cURL SSL options. An overview of all cURL options and their support in the various TLS backends can be found at , below a part of this table from June 11, 2024:

> libcurl can use different TLS backends, selected at both build-time and run-time. This table shows all TLS related options and details the set of TLS backends that work with it.
>
> The **OpenSSL** column also covers BoringSSL, libressl, quictls, AWS-LC and AmiSSL.
>
> optionBearSSLGnuTLSmbedTLSOpenSSLrustlsSchannelSecure TransportwolfSSL`CURLOPT_KEYPASSWD`  ✔✔ ✔ ✔`CURLOPT_SSLCERT` ✔✔✔ ✔✔✔`CURLOPT_SSLCERTTYPE` ✔✔✔ ✔✔✔`CURLOPT_SSLCERT_BLOB`  ✔✔ ✔✔ `CURLOPT_SSLENGINE`   ✔    `CURLOPT_SSLENGINE_DEFAULT`   ✔    `CURLOPT_SSLKEY`  ✔✔ ✔ ✔`CURLOPT_SSLKEYTYPE`✔  ✔   ✔`CURLOPT_SSLKEY_BLOB`   ✔    `CURLOPT_SSLVERSION`✔✔✔✔✔✔✔✔

Links
-----

[](#links)

- [WordPress/Requests#377](https://github.com/WordPress/Requests/issues/377)
-
-

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

608d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/869674?v=4)[Remco Tolsma](/maintainers/remcotolsma)[@remcotolsma](https://github.com/remcotolsma)

---

Top Contributors

[![remcotolsma](https://avatars.githubusercontent.com/u/869674?v=4)](https://github.com/remcotolsma "remcotolsma (18 commits)")[![rvdsteege](https://avatars.githubusercontent.com/u/10371164?v=4)](https://github.com/rvdsteege "rvdsteege (2 commits)")

---

Tags

curlhttppronamicsslssl-certificatestlstls-certificatewordpresswordpress-apiwordpress-hookswordpress-http-apiwordpress-httpswordpress-plugin

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pronamic-wp-http-extended-ssl-support/health.svg)

```
[![Health](https://phpackages.com/badges/pronamic-wp-http-extended-ssl-support/health.svg)](https://phpackages.com/packages/pronamic-wp-http-extended-ssl-support)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M318](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M292](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
