I updated my company laptop to Monterey 12.6.1 and ran into the invalid certificate issues discussed on numerous other posts. I updated to Local 6.5.2+6204, cleared out all of the certs in both the directory and in the keychain. I rebooted Local and all of the new certs were created and I set them in the keychain to Always Trust. The problem in Chrome still persisted, so I cleared everything out of Chrome that I had the option to clear out and the problem still persisted. I typed in the “thisisunsafe” cheat code and it worked.
So, I am passed that issue. Now, I am experiencing a bunch of deprecation warnings due to being forced to upgrade to PHP 8.1.9 so I selected PHP 7.4.30 and when Local attempted to download that version an error popped up “Error: unable to get the local issuer certificate”. I’ve got work I need to do, so I figured I would just try to resolve the deprecation warning by updating the plugins that are the source of the warnings, only when I am in the admin clicking on the download update link it says the same warning “unable to get local issuer certificate”.
I printed out the configured source of the certificates and got this:
[default_cert_file] => /email@example.com/cert.pem
[default_cert_file_env] => SSL_CERT_FILE
[default_cert_dir] => /firstname.lastname@example.org/certs
[default_cert_dir_env] => SSL_CERT_DIR
[default_private_dir] => /email@example.com/private
[default_default_cert_area] => /firstname.lastname@example.org
I navigated to /usr/local/etc and @email@example.com directory doesn’t even exist. I created a symlink pointing to my machine’s actual cert directory in /etc/ssl and still the problem persists.