Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How Do I Modify sw.js to Avoid SSL Certificate Verification? #342

Open
mn18829031589 opened this issue Apr 10, 2024 · 1 comment
Open

How Do I Modify sw.js to Avoid SSL Certificate Verification? #342

mn18829031589 opened this issue Apr 10, 2024 · 1 comment

Comments

@mn18829031589
Copy link

image
How Do I Modify sw.js to Avoid SSL Certificate Verification?

@malakutsko
Copy link

This doesn't seem to be the issue of this project really, but I recently had the same problem when I needed to debug something locally, but on custom local.gd domain with self-signed certificate.

I tried a bunch of different things and I can't tell exactly what worked, because there seems to be some caching issue involved too:

  1. Launching chrome with the flag --unsafely-treat-insecure-origin-as-secure=http://your.insecure.site:8080. Or it's also possible to switch this on and off on the page chrome://flags/
  2. Launching chrome with flags --allow-insecure-localhost and --ignore-certificate-errors
  3. Temporarily switching to No protection in chrome://settings/security

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants