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
ureq has an issue addressing the custom SSL certificates feature. This comment outlines a potential solution and a usage pattern.
I'm not sure about the exact changes required to solve this but I'd be happy to contribute however I can.
Your maturin version (maturin --version)
0.12.6
Your Python version (python -V)
3.9.16
Your pip version (pip -V)
22.2.2
What bindings you're using
pyo3
Does cargo build work?
Yes, it works
If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?
Yes
Steps to Reproduce
There's probably a way to reproduce the ssl error by hosting a package index signed with a custom SSL cert generated with an openssl incantation but I'm not very well-versed with it.
I came across this issue because my dev environment is already set up this way.
The text was updated successfully, but these errors were encountered:
My docker container already has this set up so https interactions that use requests work as expected. On the other hand maturin's http provider (ureq) doesn't have a way to inject this info at runtime.
Bug Description
TL;DR.
It is possible that
ureq
is not properly configured to allow usage of custom SSL certificates when uploading packages.Details
The command
maturin publish
fails to upload package to devpi (a privately hosted package index) because of an SSL error originating in theureq
crate.ureq
has an issue addressing the custom SSL certificates feature. This comment outlines a potential solution and a usage pattern.I'm not sure about the exact changes required to solve this but I'd be happy to contribute however I can.
Your maturin version (
maturin --version
)0.12.6
Your Python version (
python -V
)3.9.16
Your pip version (
pip -V
)22.2.2
What bindings you're using
pyo3
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
There's probably a way to reproduce the ssl error by hosting a package index signed with a custom SSL cert generated with an
openssl
incantation but I'm not very well-versed with it.I came across this issue because my dev environment is already set up this way.
The text was updated successfully, but these errors were encountered: