mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #626] [MERGED] Allow ignoring certificate errors #1233
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/626
Author: @javierlarota
Created: 11/26/2021
Status: ✅ Merged
Merged: 4/6/2022
Merged by: @GregorBiswanger
Base:
master← Head:feature/ignore-cert-errors📝 Commits (2)
d9d655cAllow ignoring certificate errors when using an untrusted self-signed certificate for https communication with the AspCore backend.431e401Feedback from code review. Improving logging of the domain names that will be ignored.📊 Changes
1 file changed (+34 additions, -1 deletions)
View changed files
📝
ElectronNET.Host/main.js(+34 -1)📄 Description
The Electron app fails when using a self-signed certificate for https communications with its ASP.NET Core backend. The native electron framework allows to ignore or bypass certificate errors. I am exposing this feature to Electron.NET
There will be two ways to bypass certificate errors:
By adding this flag to the electron.manifest.json file:
"ignoreAllCertificateErrors": trueit will allow to ignore all cert errors. This option is less secureBy adding a list of domain names that we want to ignore certificate errors for in the electron.manifest.json file:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.