Ubuntu install fails because of untrusted CA certificate
J
Jansen, Jan Arend
started a topic
over 1 year ago
Our company
is using a ZScaler proxy that replaces SSL Certs with a company self-signed
root CA. My Ubuntu system has this certificate trusted in its trust store, so I
can (at the ubuntu level) connect to ssl like https://get.fiddler.com
etc. I can also login to my account via Browser.
But if I run the AppImage installer file via CLI on
Ubuntu the login fails and the console shows an issue with the SSL cert:
Jansen, Jan Arend
Our company is using a ZScaler proxy that replaces SSL Certs with a company self-signed root CA. My Ubuntu system has this certificate trusted in its trust store, so I can (at the ubuntu level) connect to ssl like https://get.fiddler.com etc. I can also login to my account via Browser.
But if I run the AppImage installer file via CLI on Ubuntu the login fails and the console shows an issue with the SSL cert:
14:08:10.574 › Checking for update
[22975:0815/140810.593964:ERROR:cert_issuer_source_aia.cc(104)] AiaRequest::OnFetchCompleted got error -301
[22975:0815/140810.594996:ERROR:cert_issuer_source_aia.cc(104)] AiaRequest::OnFetchCompleted got error -301
[23048:0815/140810.596296:ERROR:ssl_client_socket_impl.cc(981)] handshake failed; returned -1, SSL error code 1, net_error -202
[22975:0815/140810.721909:ERROR:cert_issuer_source_aia.cc(104)] AiaRequest::OnFetchCompleted got error -301
[22975:0815/140810.722352:ERROR:cert_issuer_source_aia.cc(104)] AiaRequest::OnFetchCompleted got error -301
[23048:0815/140810.723216:ERROR:ssl_client_socket_impl.cc(981)] handshake failed; returned -1, SSL error code 1, net_error -202
[22975:0815/140810.725774:ERROR:cert_issuer_source_aia.cc(104)] AiaRequest::OnFetchCompleted got error -301
[22975:0815/140810.726039:ERROR:cert_issuer_source_aia.cc(104)] AiaRequest::OnFetchCompleted got error -301
[23048:0815/140810.726725:ERROR:ssl_client_socket_impl.cc(981)] handshake failed; returned -1, SSL error code 1, net_error -202
14:08:10.738 › Error: Error: net::ERR_CERT_AUTHORITY_INVALID
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:105:7068)
at SimpleURLLoaderWrapper.emit (node:events:394:28)
14:08:10.755 › Error: net::ERR_CERT_AUTHORITY_INVALID
This is expected, as explained above, there is a root cert that I need to tell the electron/node runtime to trust.
How do I pass a trusted certificate to the installer?