FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.57k stars 850 forks source link

Allow self-sign certificates or use the system ones, when using HTTPS proxy (transparent or not) #1003

Open dominiquefournier opened 3 years ago

dominiquefournier commented 3 years ago

To connect to internet, I have a proxy to drop all the ads. It is a squid proxy. In case of HTTPS connection, il do ssl bump and generate a fake certificate, signed by a local Certificate Authority. This local CA is installed in my system (Debian Buster). Apparently, FreeTube don't use it and write "Self signed certificate in certificate chain"

I also try to use a proxy, but same issue as the certificate is unknown in FreeTube.

Could you use the system wide CA, or allow to specify a local one by using a startup parameter ?

Thanks Dom

4-FLOSS-Free-Libre-Open-Source-Software commented 2 years ago
4-FLOSS-Free-Libre-Open-Source-Software commented 2 years ago

Electron got a switch for ignoring errors, but it does not apply even if set: ./freetube --ignore-certificate-errors

at least to proxy self-signed cert error. https://github.com/electron/electron/blob/main/docs/api/command-line-switches.md#--ignore-certificate-errors