Serviceworker: Service Worker registration failed: DOMException: Failed to register a ServiceWorker: An SSL certificate error occurred when fetching the script.

Created on 8 Jun 2017  路  3Comments  路  Source: w3c/ServiceWorker

I am getting this error when i am running in my local system. I am working with service worker.

Service Worker registration failed: DOMException: Failed to register a ServiceWorker: An SSL certificate error occurred when fetching the script.
What is the solution. help me

All 3 comments

Hi, this repo is for spec issues rather than user support. I recommend https://stackoverflow.com/ for user support, and if you post your question there, post me a link, I'll attempt to answer it.

However, you need to provide as much information as possible, and you haven't provided any code, or information about the environment.

You may also be interested in https://www.chromium.org/blink/serviceworker/service-worker-faq which covers solutions for some self-signed certificates.

@jakearchibald The question was asked on Stack Overflow: "Can you use a service worker with a self-signed certificate?" by Keith

Was this page helpful?
0 / 5 - 0 ratings