In all browsers I’m seeing the self-signed certs for Local Lightning not be trusted and throwing errors. This is particularly an issue when I’m attempting to pull JSON in using file_get_contents in PHP. It throws an OpenSSL error:
( ! ) Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in (...)
Even after clicking the “Trust” button in the GUI, and updating the home/site URLs in the WP admin, these certs are still not working. Is true for newly created sites as well as sites imported from “Local by Flywheel”.
Additionally, attempting to run the site through browsersync throws the following error (Firefox):
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
And Chrome:
ERR_SSL_PROTOCOL_ERROR
Any help to resolve/figure this out would be lovely. This is making the new and awesome Lightning version unusable.
For Chrome, the certificate seems to be working, but still getting the OpenSSL error when pulling JSON via file_get_contents(). And when attempting to use browsersync/localhost Chrome still throws the “ERR_SSL_PROTOCOL_ERROR”.
Do we believe there will be a resolution to the Firefox on macOS cert issue?