We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When downloading sources from servers with misconfigured certs, it would be nice to be able to skip rattler-build's internal SSL checks.
rattler-build
# recipe.yaml context: version: '1.1.0' package: name: lua-lpeg version: ${{ version }} source: - url: http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-${{ version }}.tar.gz sha256: 4b155d67d2246c1ffa7ad7bc466c1ea899bbc40fef0257cc9c03cecbaed4352a
➜ lua-lpeg-feedstock git:(win) ✗ rattler-build build -r recipe/ ╭─ Finding outputs from recipe │ Found 1 variants │ Build variant: lua-lpeg-1.1.0-hb0f4dca_0 │ │ ╭─────────────────┬──────────╮ │ │ Variant ┆ Version │ │ ╞═════════════════╪══════════╡ │ │ target_platform ┆ linux-64 │ │ ╰─────────────────┴──────────╯ │ ╰─────────────────── (took 0 seconds) Error: × Failed to download source from url: error sending request for url (https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz) ├─▶ error sending request for url (https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz) ├─▶ client error (Connect) ├─▶ error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:2091: (unable to get local issuer certificate) ╰─▶ error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:2091:
The text was updated successfully, but these errors were encountered:
The URL alos looks as if the ${{ version }} wasn't part of it.
${{ version }}
Sorry, something went wrong.
oops, fixed it, error remains the same
I think this is the reqwest client we would need to configure: https://github.com/wolfv/rattler-build/blob/3ad69f0e37e028fc5bc50d8ee2d9d6c021b4d621/src/source/url_source.rs#L69-L70
Should probably add it to the tool config, in fact.
xref conda-forge/lua-lpeg-feedstock#13
No branches or pull requests
Problem
When downloading sources from servers with misconfigured certs, it would be nice to be able to skip
rattler-build
's internal SSL checks.Repro
The text was updated successfully, but these errors were encountered: