Re:Chromium and Mozilla to enforce 1 year validity for TLS c...
by jopsen on Tuesday June 30, 2020 @06:37AM
(#23688701)
Oh, yeah... webcrypto only works on HTTPS.
So you would need to ship a crypto library in JS, hehe :)
Self-signed certs probably does work, if you install the certificate root on your machine. It just not something you would advice end-users to do.
Self signed HTTPS works for this case as long as you know the fingerprint/cert to accept.