# HTTPS Not Working - Invalid Certificate (MacOS)

**URL:** <https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81>\
**Category:** Bug Reports\
**Created:** [January 18, 2021, 5:38pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81 "2021-01-18T17:38:06Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrandynF](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/brandynf/32/63_2.png) [@BrandynF](https://community.kinsta.com/u/BrandynF)\
**Post date:** [January 18, 2021, 5:38pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/1 "2021-01-18T17:38:06Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [January 18, 2021, 5:49pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/2 "2021-01-18T17:49:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![BrandynF](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/brandynf/32/63_2.png) [@BrandynF](https://community.kinsta.com/u/BrandynF)\
**Post date:** [January 18, 2021, 5:56pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/3 "2021-01-18T17:56:24Z")

</div>

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.”

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [January 18, 2021, 6:37pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/4 "2021-01-18T18:37:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![BrandynF](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/brandynf/32/63_2.png) [@BrandynF](https://community.kinsta.com/u/BrandynF)\
**Post date:** [January 18, 2021, 6:50pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/5 "2021-01-18T18:50:16Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Antoni\_Christian](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/antoni_christian/32/72_2.png) [@Antoni\_Christian](https://community.kinsta.com/u/Antoni_Christian)\
**Post date:** [January 18, 2021, 8:54pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/6 "2021-01-18T20:54:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sznngoodwin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/sznngoodwin/32/97_2.png) [@sznngoodwin](https://community.kinsta.com/u/sznngoodwin)\
**Post date:** [January 19, 2021, 2:38pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/7 "2021-01-19T14:38:50Z")

</div>

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

 ![Markup on 2021-01-19 at 09:37:27](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/ac71d559f43627b46cfa660f2713c63e54511a06.jpeg)

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [January 19, 2021, 4:26pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/8 "2021-01-19T16:26:30Z")

</div>

Great tip @sznngoodwin !

---

<div class="post-metadata">

**Author:** ![fairbee](https://avatars.discourse-cdn.com/v4/letter/f/d26b3c/32.png) [@fairbee](https://community.kinsta.com/u/fairbee)\
**Post date:** [May 31, 2021, 1:55pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/9 "2021-05-31T13:55:48Z")

</div>

I’m having this issue as well, the fix suggested before fixed the issue when visiting the website, but it also affects the cron function of wordpress.

at: /wp-admin/tools.php?page=crontrol\_admin\_manage\_page  
I see the following error:  
**cURL error 7: Failed to connect to fairbee.local port 443: Connection refused**

Any suggestion on how to solve this? I’m guessing I should somehow be able to get into the docker image to trust the certificate there?

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [May 31, 2021, 4:18pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/10 "2021-05-31T16:18:32Z")

</div>

Hey @fairbee. Welcome to DevKinsta! Crons should be able to function as normal on DevKinsta, but it may depend on the cron job that’s attempting to run. We’ll take a look at this 🙂

---

<div class="post-metadata">

**Author:** ![fairbee](https://avatars.discourse-cdn.com/v4/letter/f/d26b3c/32.png) [@fairbee](https://community.kinsta.com/u/fairbee)\
**Post date:** [June 1, 2021, 6:53am UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/11 "2021-06-01T06:53:48Z")

</div>

thanks 🙂 I assume it has to do with the same SSL issue, since cURL from terminal had the same result until I used the “trust always” setting suggested before.

---

<div class="post-metadata">

**Author:** ![andergmartins](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andergmartins/32/1656_2.png) [@andergmartins](https://community.kinsta.com/u/andergmartins)\
**Post date:** [January 30, 2023, 3:02pm UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/12 "2023-01-30T15:02:49Z")

</div>

I’m having this issue again. It has been working for months, than stopped working last week. I’m on MacOS Ventura 13.1. The certificate is already marked as always trust on keychain, but still have the issue. Tried uninstalling DevKinsta, Docker, installed again, and created a new site. Still not working.

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [January 31, 2023, 3:02am UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/13 "2023-01-31T03:02:56Z")

</div>

Hello Anderson @andergmartins 👋

I don’t have Mac here and can’t replicate the issue 😃 , but I saw this [post](https://community.kinsta.com/t/ssl-update-failed/1893/5) from other user that followed the suggestion there ( Thank you @krisroadruck 🙇‍♂️ ) - which seemed to help to solve the Cert/HTTPS related issue with Chrome (on Mac OS Ventura).

Please kindly check and see if that workaround will also help to solve the issue you’re experiencing.

Cheers,  
Agus

---

<div class="post-metadata">

**Author:** ![andergmartins](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andergmartins/32/1656_2.png) [@andergmartins](https://community.kinsta.com/u/andergmartins)\
**Post date:** [February 8, 2023, 1:05am UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/14 "2023-02-08T01:05:27Z")

</div>

Thanks @Agus Yes, I can confirm that copying the certificate from “login” keychain and pasting on “system” as suggested on [SSL update failed - #3 by krisroadruck](https://community.kinsta.com/t/ssl-update-failed/1893/3) works for me as well. Thanks for pointing me to there.

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [February 8, 2023, 2:21am UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/15 "2023-02-08T02:21:31Z")

</div>

Awesome! glad to hear the solution provided there works for you as well @andergmartins👍  
Thanks @krisroadruck once again for sharing the information/workaround! 😃

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)\
**Post date:** [February 11, 2023, 2:22am UTC](https://community.kinsta.com/t/https-not-working-invalid-certificate-macos/81/16 "2023-02-11T02:22:06Z")

</div>

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