elan icon indicating copy to clipboard operation
elan copied to clipboard

ELAN fails to connect through proxy due to SSL certificate issue

Open Purewhite2019 opened this issue 7 months ago • 1 comments

Hi, I'm setting up ELAN in an isolated environment where a proxy is required to access the external internet. When using the proxy, ELAN encounters the following error:

thread 'main' panicked at src/elan-utils/src/utils.rs:472:32:
called `Result::unwrap()` on an `Err` value: Error { description: "SSL peer certificate or SSH remote key was not OK", code: 60, extra: Some("SSL certificate problem: self signed certificate in certificate chain") }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Other software like curl and git work normally in this environment when SSL verification is disabled. Is there a similar option for ELAN to bypass SSL verification or handle self-signed certificates in the proxy chain?

Environment details:

  • ELAN version: elan 3.1.1 (71ddc6633 2024-02-22)
  • Operating System: Linux 4.19.91-014-kangaroo.2.10.13.5c249cdaf.x86_64
  • Proxy type: HTTPS

Any guidance on resolving this issue would be greatly appreciated.

Purewhite2019 avatar Jul 23 '24 04:07 Purewhite2019