Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Adding Self Signed certificates to get rid of unsafe browsing warnings. #8

Open
vicvega83 opened this issue Aug 29, 2021 · 3 comments

Comments

@vicvega83
Copy link

Hi,
I've been testing the push notification system on my Android 10 phone, and I can confirm that Service Worker doesn't work on Chrome.
It works on Firefox, but there is every single time, the unsafe browsing warning, which is annoying, mostly because when you tap on a push notification, firefox fires up, you get redirected to your dashboard url, but it's unfortunately a blank page, until you manually reload it, and get past the unsafe browsing prompt once again.

I tried installing the certificates I created (with TotallyInformation script ) on my android phone (simultaneously also attempting on my Windows10, systewide, and on Firefox / Chrome)
But Installing them doesn't seem to get rid of the warning.
I followed these steps and I can see It's correctly installed as a Root Certificate Authority.
Will post my progress as soon as I have some time to dig into it.

@bartbutenaers
Copy link
Owner

Normally this does NOT work with self signed certificated!!

I install automatically a Letsencrypt cerificate (via DuckDns) by my node-red-contrib-letsencrypt node, and that works fine.

This was the main driver for me - at the time being - to develop that node...

@vicvega83
Copy link
Author

I got it all wrong in the first place :)
So after setting up DuckDns certbot, I can confirm it works perfectly, both on Firefox and Chrome on Windows and Android 10 !
I'll dig into your letsencrypt node, as I'm learning it needs to be renewed every 90 days.
Thanks!

@bartbutenaers
Copy link
Owner

I wrote the LetsEncrypt node after I read an arricle about Node-RED and Certbot. I wanted to have a 100% Node-RED solution, without having to install Certbot...

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

No branches or pull requests

2 participants