Skip to content

Doesn't honor client-cert setting for custom indexes in pip.conf #9

@gdubicki

Description

@gdubicki

Hi!

I am using my company custom PyPI index with client cert auth, a config like this:

[global]
client-cert=~/.ssh/nexus-repo-cert-key.pem
index=https://repo.company.com/repository/pypi/pypi
index-url=https://repo.company.com/repository/pypi/simple

With this using luddite results with this error:

$ luddite setup.py 
(...)
  File "/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1349, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1129)>

Commenting out the custom index works around the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions