LocalWP 10 not generating root CA certificate

What issue or error are you experiencing?


Version: 10.0.0+6907

OS: macOS

Description:

After a clean install of LocalWP 10, the root CA certificate is not being generated in the expected location (~/Library/Application Support/Local/run/router/nginx/certs/). Only the site-specific certificate and key files are created (e.g. divi-5-course.local.crt and divi-5-course.local.key).

Because the root CA is missing, clicking the Trust button fails with the message “We ran into an issue trusting the Local SSL certificate.” As a result, Chrome shows “Not Secure” and Firefox blocks the site entirely, with the security exception not being saved between sessions.

Steps to reproduce:

  1. Fresh install of LocalWP 10

  2. Create a new site

  3. Click Trust on the SSL row in the Overview tab

  4. Error banner appears and SSL is never trusted by the browser

Expected behavior: Root CA certificate is generated and registered in the system keychain, allowing browsers to trust local SSL certificates.

Actual behavior: Root CA is never generated. Trust process fails silently.

Thank you for the report, @Veruska.

We have a ticket in our backlog to address this and improve the SSL/TLS workflow in general, but I don’t yet have a timeline for the fix.

For the issue under Chrome, you can try removing the certificate from Keychain Access and re-adding it following the certificates guide for macOS. For me, this gives a secure cert chain:

The issue under Firefox is a known problem that our planned updates to cert generation are expected to fix.