BrowserWindow doesn't show an https page unless the ignore-certificate-errors Chromium cmd switch is used


#1

I’m working on a very simple Electron application to load up a secure website which asks for a certificate for login.
mainWindow.loadURL(url);
However, the application window is blank unless I use the ignore-certificate-errors command line switch for Chromium.
app.commandLine.appendSwitch(“ignore-certificate-errors”);
Is there a was to see why it doesn’t do anything without the switch?