SSL certificates on Mac

So yesterday, “inspired” by MAMP Pro 7.2’s perceived slowness with a local copy of a clients multisite install, I installed LocalWP again, and after some wrangling with importing the database, had the site running.
As expected, it runs noticeably faster on Local, I’d say about 1/3 faster than on MAMP.
But: for every site install, I not only have to say OK with TouchID to some system popup warning, I then also get a warning after telling it to trust the SSL, have to open Keychains and manually set the SSL cert to be trusted (TouchID again), or manually delete a no-longer used certificate (you guessed it: TouchID, once or sometimes twice).
And don’t think of using my trusted Firefox Developper Edition to check things, as it doesn’t recognize any of these SSLs.
Makes me wonder how MAMP and Laravel Herd manage to do all this without per-site system prompts and faffing around in Keychains… and also if Local’s speed and convenience are really worth it.
Is this the expected state of thing on MacOS, or is work planned to make this a bit smoother?

1 Like

Thanks for giving Local another spin and for the feedback on performance and UX.

I agree that the SSL issues are a pain right now in Local. We have a few tickets in the backlog to make things better.

I’m not 100% sure how MAMP/Herd do things, but it’s possible that they use mkcert. Local’s SSL implementation was from before this tool was around and had Windows support, so we had to home-roll some things.

Anyway, mkcert is one tool we’re want to explore, after some positive feedback in this forum post:

I know the steps in there are manual and a hassle, but you might try doing what he mentions, which would mean you can have a faster site using Local and use your ol’ trusty Firefox Developer Edition.

One thing to note, for this issue:

I think that is just because the DB still has regular http:// references in the DB. Things should work after manually searching/replacing the various domains within the DB.

If you do go that route, I’d love to hear how it goes!

1 Like