Can you use a service worker with a self-signed certificate?
<p>I have developer server that are used for testing. They have SSL self-signed certificates, which allow us to test the web application over HTTPS, but with prominent warnings that the certificates are not verifiable.</p>

<p>That's fine, but I have a Service Worker that throws an error with the <code>navigator.serviceWorker.register</code></p>

<blockquote>
  <p>SecurityError: Failed to register a ServiceWorker: An SSL certificate error occurred when fetching the script.</p>
</blockquote>

<p>How do I use a Service Worker with an intranet testing server which has a self-signed certificate?</p>