title: Chrome NET::ERR_CERT_AUTHORITY_INVALID error on self signing certificate at LocalHost
body: <p>I am trying to setup a development environment on my local PC. As the production website supports HTTPS (who does not these days?), I want to have this also on the localhost. I thought it would be easy, but no.</p>
  
  <p>I have a XAMP installation, and setup all so I can access the website. However, whenever I go to any page on the site locally, I get the chrome warning:</p>
  
  <p>NET::ERR_CERT_AUTHORITY_INVALID</p>
  
  <p>I did follow the following thread to try and solve it:</p>
  
  <p><a href="https://stackoverflow.com/questions/7580508/getting-chrome-to-accept-self-signed-localhost-certificate">Getting Chrome to accept self-signed localhost certificate</a></p>
  
  <p>I also created the certificate with the correct Subject Alternative Name (SAN) section, based on this:</p>
  
  <p><a href="https://deliciousbrains.com/https-locally-without-browser-privacy-errors/" rel="noreferrer">https://deliciousbrains.com/https-locally-without-browser-privacy-errors/</a></p>
  
  <p>After that, I generated the CER or P7B file and imported that into Chrome. I restarted both Apache and Chrome.</p>
  
  <p>I put the certificate in the Trusted Root Certificate Authorities. Somehow, Chrome decided however to place it in the Intermediate Root Certificate Authorities...</p>
  
  <p>I am using Chrome 61, I had the same in 60.</p>
  
  <p>So somehow I am unable to install a self signed certificate, and keep getting this warning which basically makes development on localhost impossible...</p>
  
  <p>I understand that this self-signing is not exactly trustworthy, but there must be a way to develop offline? It does not make sense that we have to build websites online from now on?...</p>
  
  <p>Any ideas?</p>