ADEXITUM
ADEXITUM

Reputation: 11

How to bypass "NET::ERR_CERT_AUTHORITY_INVALID" in PWA when using self-signed certificate?

I'm running a Progressive Web App locally with a self-signed certificate. When I visit the site in Chrome, I can proceed past the "NET::ERR_CERT_AUTHORITY_INVALID" warning by clicking "Advanced" -> "Proceed".

However, after installing the PWA, I face the same certificate warning, and when I try to click "Proceed" to access the site, it redirects me back to Chrome instead of staying within the PWA. Within the PWA I can't get anywhere except "NET::ERR_CERT_AUTHORITY_INVALID" page.

How can I bypass this?

Additional Information:

I've tried:

  1. Running Chrome with chrome --ignore-certificate-errors but it didn't help.
  2. Turn on Allow invalid certificates for resources loaded from localhost on a chrome://flags/#allow-insecure-localhost page. Then I've reinstalled PWA but it didn't resolve the issue.
  3. Set Safe browsing to No Protection

Upvotes: 0

Views: 89

Answers (0)

Related Questions