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
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.
If Anyone still looking for a solution - https://deanhume.com/testing-service-workers-locally-with-self-signed-certificates/
@jakearchibald The question was asked on Stack Overflow: "Can you use a service worker with a self-signed certificate?" by Keith