Skip to content

poetry config certificates.my-private-pypi.cert doesn't work #2593

Closed

Description

@z0h
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

Configuring a certificate for a private repo via the below doesn't work:

poetry config certificates.my-private-pypi.cert /Users/xxx/yyy_ca.pem

However pointing to the pem file via "export REQUESTS_CA_BUNDLE" will make it work. If it matters the below configs are also set:

virtualenvs.create = true
virtualenvs.in-project = true

Activity

  1. added
    kind/bugSomething isn't working as expected
    status/triageThis issue needs to be triaged
    on Jun 25, 2020
  2. jamiemoore commented on Jan 7, 2021

    @jamiemoore

    I can't seem to make export REQUESTS_CA_BUNDLE work either. When set, Pip works fine. Poetry not so much. Configured as per the documentation. https://python-poetry.org/docs/repositories/ using poetry version 1.1.4

  3. pierresouchay commented on Jan 28, 2022

    @pierresouchay

    same issue here

  4. FlotterCodername commented on Jun 23, 2022

    @FlotterCodername

    This is fixed with #5518, which is pre-released in 1.2.0b2

    pip install -U poetry --pre
    
  5. intgr commented on Jun 28, 2022

    @intgr
    Contributor

    I can confirm this is fixed in Poetry 1.2.0b2

  6. github-actions commented on Mar 1, 2024

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  7. locked as resolved and limited conversation to collaborators on Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions