WP Manifestindependent plugin directory
manifest / developer / force-localhost-ca

Force localhost CA certificate

WordPress curl requests (used in wp_remote_get, etc) use a CA cert file in WP Core, not the system PHP path. Use this drop in plugin (easiest in /wp-content/mu-plugins) to fix the issue on localhost. Helpful for compatibility with local SSL certs generated by the mkcert command. cURL error 60: SSL certificate: unable to get local issuer certificate

by Square Candy Design · github.com/squarecandy/force-localhost-ca · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/squarecandy/force-localhost-ca/archive/refs/heads/master.zip

Declares an update source (https://github.com/squarecandy/force-localhost-ca), so updates arrive through the plugin's own updater.

From the readme

force-localhost-ca WordPress curl requests (used in wpremoteget, etc) use an SSL CA cert file in WP Core, not the system PHP default path, or any custom CA you define in php.ini. Use this drop in plugin (easiest in /wp-content/mu-plugins) to fix the issue on localhost. Helpful for compatibility with local SSL certs generated by the mkcert command. Just drop this plugin into /wp-content/mu-plugins and add your custom CA file path to your wp-config.php file like this: Three local TLD endings are supported by default: .local, .localhost and .test. If you need additional endings add them to your wp-config.php file like this: thanks Thanks to @healdev and @Kevinlearynet for initial code and concept for this fix. Original thread: https://github.com/FiloSottile/mkcert/issues/165

Read the full README on GitHub →

Releases

TagPublished
v1.0.0 Sep 23, 2020

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.