Local Community

Local Lighting SSL Certs not trusted (macOS Catalina)

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.

Version in use 5.2.8+2771

Thanks.

Hi

I got the same issue with the “trusted” certificate

I can access to my website only with Safari not with Chrome

Could someone help us on this please ?

Thanks

What version of Chrome are you running? There’s known issues with Local SSL certs with the following combinations:

  • Firefox on macOS
  • Chrome on Linux

Chrome on macOS Catalina should work! What version of Catalina are you running?

My versions are:

macOS Catalina - 10.15.4 (latest)
Firefox - 74.0 (latest)
Chrome - 80.0.3987.163 (latest)

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?

Thanks for any help to resolving.

just updated Chrome and I am running latest version of Catalina… still the error

NET::ERR_CERT_REVOKED

Can’t go further

thanks for the help

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.