I am trying to set up a development environment on my local PC. Since the producer site supports HTTPS (who is not these days?), I want to have this also on localhost. I thought it would be easy, but no.
I have an XAMP installation and configure everything so that I can access the website. However, whenever I go to any page on the local site, I get a warning about chrome:
NET :: ERR_CERT_AUTHORITY_INVALID
I tried to solve this problem as follows:
Getting Chrome to accept a self-signed local certificate
I also created a certificate with the correct Subject Alternative Name (SAN) section based on this:
https://deliciousbrains.com/https-locally-without-browser-privacy-errors/
After that, I generated a CER or P7B file and imported it into Chrome. I restarted both Apache and Chrome.
I put the certificate in trusted root certificate authorities. However, Chrome decided, however, to place it in the intermediary root certification authorities ...
I am using Chrome 61, I had the same in 60.
So for some reason, I can’t install a self-signed certificate and continue to receive this warning, which basically makes it impossible to develop on the local host ...
I understand that this self-signing is not entirely trustworthy, but should there be a way to develop it offline? It makes no sense that we should now create websites? ...
Any ideas?