Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12171

Can't get chrome to trust my self signed ssl certificate

$
0
0

Context

  • I try to develop a ServiceWorker for my Website
  • The ServiceWorker registration fails because of my untrusted (self signed) cert
  • The url I use locally is https://mypage.local

What I tryed to let my browser trust my cert

  • starting chrome with flags like --ignore-certificate-errors --unsafely-treat-insecure-origin-as-secure=https://mypage.local/ --allow-insecure-localhost
  • create a root CA and install it as trusted CA in my OS (windows)
  • create a new server cert with that root CA and use it for the local website (the new cert is delivered)
  • Firefox tells me SSL_ERROR_BAD_CERT_DOMAIN. I added SAN entries in addition to the CN to the cert
  • I verified my cert via https://www.sslshopper.com/csr-decoder.html and the fields are correct

The cert is still not trusted, I still get the SSL_ERROR_BAD_CERT_DOMAIN in Firefox

Any idea what I still do wrong or how I can debug my issue further?


Viewing all articles
Browse latest Browse all 12171

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>