I can’t get local SSL to work. I’m getting ERR_CERT_AUTHORITY_INVALID in Chrome and MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT in Firefox. Everything else works as expected.
This is on Windows 10 Pro and DevKinsta 2.13.6
I Also have Local WP installed with SSL working without problems. So seems to be an issue with DevKinsta.
Welcome to the Kinsta Community forums! Thank you for reaching out to us on the forums!
I have been investigating into what could be causing this issue to occur. I do see on my end on a MacBook Pro that when I enable HTTPS support for a site in DevKinsta I am prompted to enter my administrator password so that the DevKinsta root certificate can be installed in the keychain.
I do see that this process is completing successfully. When using Safari as my browser I do see that when I visit my site the SSL certificate appears trusted and loads without issue.
However, on both Brave and Firefox the certificate is not trusted. It appears on my end that this is a browser related issue.
On Firefox if I navigate to the browser settings and then under the Privacy & Security settings if I toggle the “Allow Firefox Developer Edition to automatically trust third-party root certificates you install“ option it resolves the problem.
We are looking further into the issue regarding Brave/Chrome to see if a similar setting needs to be toggled, or enabled.
I see however that you already found a solution that worked for you. The process you outlined appears to install the site’s SSL certificate directly into the keychain. However, this certificate should automatically be trusted as the root DevKinsta certificate should already be installed.
To clarify, when you enabled HTTPS for your DevKinsta site were you prompted to enter your administrator password to install the DevKinsta root certificate?
Installed Brave just now and works fine with DevKinsta sites with manually imported certificates.
Can’t tell for Firefox/Brave, but in Chrome, imported certificates from Windows are listed at “chrome://certificate-manager/localcerts/platformcerts”. The certificates I manually imported was not present before the import.
So in Windows, manual import gets Chrome/Firefox/Brave to work with SSL. Must be something with DevKinsta and Windows then?
Thank you for the update. I’m glad to hear that Brave is now working after manually importing the certificate.
From what I know, DevKinsta should automatically install its CA into the Windows trust store. If that process is interrupted or blocked or a setting whether by permissions, antivirus software, or system policies, the certificate won’t be properly added, which prevents browsers from recognizing it. I think that’s what happened here.