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)22171GPL-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 today

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 62% of packages

Maintenance33

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

661d 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

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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