Skip to content

Disable WordPress's certificate verification selectively against local hosts that exist in /etc/hosts

Notifications You must be signed in to change notification settings

ZeekInteractive/wp-local-hosts-ssl-whitelist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WP Local Hosts SSL Whitelist

Disable WordPress's certificate verification selectively against local hosts that exist in /etc/hosts.

Usage

Add the following to your .env.php file:

'LOCAL_HOSTS_SSL_WHITELIST' => true,

Or you can add the following constant to your wp-config.php file:

define( 'LOCAL_HOSTS_SSL_WHITELIST', true );

About

Disable WordPress's certificate verification selectively against local hosts that exist in /etc/hosts

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages