I have a system with where you can enable https for request but this will serve a self-signed certificate and I'm experimenting with writing a JavaScript shared worker, in normal http context it works fine. If I enable https then the fetch in the worker fails with a this status in the developer console:
(failed)net::ERR_INSECURE_RESPONSE
.
I enabled "allow insecure content" in my browser, since the error says the response is insecure, but that did not help.
There is a setInterval running the fetch but the context should be correct.
Do workers know about thrust for for self signed certs? or is there something else that is going wrong here?