I'm currently building a debian installation package to deploy a electron application to our internal linux desktop machines (Ubuntu 16.04).
The app contacts an internal server that uses certificates signed by our internal CA. This certificates are not accepted.
I can start the application with the option --ignore-certificate-errors, but this just a workaround during testing.
Where do I have to import the CA certificates to allow the electron application to communicate with our server?
They are already added using update-ca-certificates, so there seems to be something else.
Any ideas?
Ralf
1 Answer
Calling the app.importCertificate API providing the certificate in pkcs12 format does the trick.