title: service worker android Failed to load resource: net::ERR_INSECURE_RESPONSE
body: <p>I set up a <strong>https</strong> server on my machine and service sorker on that server.When i'm opening the site through desktop chrome browser after adding the certificate in the browser it opens fine.But when i try to open it in my android device it shows the following error.</p>
  
  <p><strong>An SSL certificate error occurred when fetching the script.</strong></p>
  
  <p><strong><a href="https://www.aaa.com/swt1.js" rel="nofollow noreferrer">https://www.aaa.com/swt1.js</a> Failed to load resource: net::ERR_INSECURE_RESPONS</strong>E</p>
  
  <p><strong>Error while installing service worker:  DOMException: Failed to register a ServiceWorker: An SSL certificate error occurred when fetching the script.</strong></p>
  
  <p>where <strong>swt1.js</strong> is my service worker file.</p>
  
  <p>what is the issue .. is it installation of certificate or something related with service workers.</p>