Open karl19 opened 1 month ago
I think it's because the HTTP library used by tlrc doesn't pick up your SSL certificates by default. I've enabled that feature in https://github.com/tldr-pages/tlrc/commit/3092e01296a9ab4b21201277ca7c196963187d71 - could you compile the latest version from the main
branch and test if it works for you?
@acuteenvy still no luck, no matter what i do i got below (running from the latest rust image)
root@cae66abe3157:~/tlrc# cargo build
Updating crates.io index
error: failed to get `clap` as a dependency of package `tlrc v1.9.2 (/root/tlrc)`
Caused by:
download of config.json failed
Caused by:
failed to download from `https://index.crates.io/config.json`
Caused by:
[60] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: self signed certificate in certificate chain)
Are you actually using a self-signed certificate or is there a CA that you can include in the image to solve this problem? curl
should also complain about self-signed certificates if you run it in this image, unless you use --insecure
.
@acuteenvy i've actually mounted from my local cert folder and copied them all over to /etc/ssl/certs/
in above attempt
Silly question, do we know why it fails to download from github, but meantime can cUrl? Obviously im behind corp firewall.
tldr nvm
curl -I https://github.com/tldr-pages/tldr/releases/latest/download/tldr.sha256sums