Repository navigation
enable adding self-signed certificates on Windows - #2581
Conversation
|
@shiftkey Is there any way for us to get a notification once the certificate dialog is terminated so that we could retry automatically rather than let the user go through the flow again? |
|
@niik not that I'm aware of - it'd have to be something from Electron itself |
Looking at the recording you posted earlier it seems like the dialog is sticking around after we pop the certificate dialog though? Are we blocking the renderer when showing the modal and, if so, couldn't we do the retry synchronously? |
It currently does (on Windows at least), due to this Win32 API being blocking and requiring user interaction. And there is a callback that gets invoked as part of We don't have any smarts around being able to return to the previous dialog in |
Okay, if you open an issue about addressing the remaining work I'll get this merged. Needs a merge tho |
Yeah, I think @niik and I have talked about this in the past: sometimes we really want our dialogs to be a stack instead of replacing the any current dialog. But I agree that's separate from this fix. |
|
Tracking the polish work in #2622 |
|
🍎 |
We bumped Electron to 1.6.11 in #1430 which supported adding self-signed certificates to the user's trusted root certificate store (see electron/electron#9242 for more) but we didn't enable the dialogs for Windows.
Here's the new flow with a self-signed certificate on Windows: