Skip to content

fix: fix native TLS option to use the native certificate roots.#137

Open
zicklag wants to merge 1 commit intohuggingface:mainfrom
zicklag:fix/native-tls
Open

fix: fix native TLS option to use the native certificate roots.#137
zicklag wants to merge 1 commit intohuggingface:mainfrom
zicklag:fix/native-tls

Conversation

@zicklag
Copy link
Copy Markdown

@zicklag zicklag commented Jan 24, 2026

It looks like an update to ureq requires you to explicitly state that you want to use the native platform certificate verifier.

Personally, as someone operating behind an http proxy with a custom https certificate, that is usually why I'm needing native TLS in the first place, so I think it makes sense to enable by default.

This fixes me being unable to download anything when using libraries like candle because ureq isn't trusting my system's https certificate store.

PS: I thought there was another problem with this when it didn't work to run the example, but apparently the example actually tries to download a file that requires authentication. I did confirm this works by changing the repo + file to something that was public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant