Issue with SSL: NET::ERR_CERT_INVALID(ubuntu)

Hello @Jean :wave: welcome to DevKinsta Community!

I had the same SSL/HTTPS issue before on my Ubuntu 22.04.02.
The workaround that worked for me was the following:

  1. I checked my Firefox browser was installed via snap by default, and I noticed the following sub-folder was created: ~/snap/firefox/common/.mozilla/firefox

  2. DevKinsta was looking for this sub-folder : /home/mylocaluser/.mozilla/firefox

  3. I created a symlink uder my /home/mylocaluser/ with the following command (via terminal):
    ln -s snap/firefox/common/.mozilla .mozilla

  4. Done, after that, I was able to use HTTPS (SSL) for my local sites created in DevKinsta.

You may want to check the same on your computer and see if you can apply the same?
also have you tried to access the https:// URL on FireFox browser?

Cheers,
Agus