You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to connect to a self-hosted Gitlab instance with a self-signed certificate. However, even though I have added the cert to the OS trust store, git-cliff still fails with:
ERROR git_cliff_core::changelog > Failed to lookup project! HTTP client with middleware error: `error sending request for url (https://my-gitlab.domain.com/api/v4/projects/my%2Fproject)`
thread 'main' panicked at git-cliff-core/src/changelog.rs:458:18:
Could not get gitlab metadata: HttpClientMiddlewareError(Middleware(error sending request for url (https://my-gitlab.domain.com/api/v4/projects/my%2Fproject)
Caused by:
0: client error (Connect)
1: invalid peer certificate: UnknownIssuer))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I believe this is because rustls does not use the OS trust store.
Is there an existing issue for this?
Description of the bug
I need to connect to a self-hosted Gitlab instance with a self-signed certificate. However, even though I have added the cert to the OS trust store,
git-cliff
still fails with:I believe this is because
rustls
does not use the OS trust store.Steps To Reproduce
Expected behavior
git-cliff
command executes successfully.Screenshots / Logs
No response
Software information
Additional context
No response
The text was updated successfully, but these errors were encountered: