Skip to content

ELAN fails to connect through proxy due to SSL certificate issue #131

@Purewhite2019

Description

@Purewhite2019

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 (71ddc66 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions