HTTPS Not Working - Invalid Certificate (MacOS)

Hello!

For whatever reason upon enabling HTTPS on any site within DevKinsta’s site settings and then navigating to the local site in Chrome, I am getting the “your connection is not private” warnings. Turning off HTTPS and back on again doesn’t work.

Do I need to manually trust the certificates generated for each site in Chrome? I figured it should work without having to do that but I thought I’d ask just in case that was the solution.

Thank you in advance!

Hi @BrandynF . It sounds like the certificates may not be generating. Are you on Mac or Windows? When creating a site, are you presented with a dialog box to enter your machines password?

Hey @michael

I’m on MacOS Big Sur right now. When creating a site or pulling from Kinsta I am presented with those certificate dialog boxes to enter my machine’s password. It doesn’t give any error messages that the certificates weren’t generated after entering my password and when inspecting the certificates in Chrome it looks like it’s generated but shows “this certificate has not been verified by a third party.”

Thank you for the additional info, @BrandynF. Our developers are aware of an issue with macOS Big Sur 11.1 and the creation of SSL certificates. For the time being, it’s safe to manually trust the certificates.

It’s also possible however that the error would appear in cases of mixed HTTPS and HTTP content on a page. Running a Search & Replace via plugin or the database may help catch those.

Thanks for the help, @michael

That must be the issue then! I’ll go ahead and manually trust those certs and I look forward to a future update that may fix the issue. I did try to run a search & replace just in case but that didn’t do anything.

Thanks again for the help!

1 Like

This is also a problem on windows 10… I have enabled SSL and HTTPS yet I am still getting this warning…

This works for me on my Macs:

  1. Open Keychain Access app
  2. Locate the new .local domain name in the System keychain and double click to open the certificate
  3. Click on the caret to the left of “Trust” and select “Always Trust” in the first dropdown
  4. Close Keychain Access and restart your browser

1 Like

Great tip @sznngoodwin !