Skip to content

Commit 95a5217

Browse files
committed
Try skipping TLS verification
1 parent a291462 commit 95a5217

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/local-env/scripts/install.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ wp_cli( `config set SCRIPT_DEBUG ${process.env.LOCAL_SCRIPT_DEBUG} --raw --type=
2424
wp_cli( `config set WP_ENVIRONMENT_TYPE ${process.env.LOCAL_WP_ENVIRONMENT_TYPE} --type=constant` );
2525
wp_cli( `config set WP_DEVELOPMENT_MODE ${process.env.LOCAL_WP_DEVELOPMENT_MODE} --type=constant` );
2626

27+
wp_cli( 'config set MYSQL_CLIENT_FLAGS MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT --raw --type=constant' );
28+
2729
// Read in wp-tests-config-sample.php, edit it to work with our config, then write it to wp-tests-config.php.
2830
const testConfig = readFileSync( 'wp-tests-config-sample.php', 'utf8' )
2931
.replace( 'youremptytestdbnamehere', 'wordpress_develop_tests' )

0 commit comments

Comments
 (0)