I am building a cli that needs to communicate with a self hosted git server (gitea), I would like to be able to fetch repo info, the git repo is using a self sign certificate.
Currently, I am getting the following error:
called `Result::unwrap()` on an `Err` value: Error { code: -17, klass: 16, message: "the SSL certificate is invalid" }
How can I inject my cert into git2-rs to solve this issue?
Dear git2-rs community,
I am building a cli that needs to communicate with a self hosted git server (gitea), I would like to be able to fetch repo info, the git repo is using a self sign certificate.
Currently, I am getting the following error:
How can I inject my cert into git2-rs to solve this issue?
thank you very much