Giter Club home page Giter Club logo

Comments (7)

ansibot avatar ansibot commented on September 26, 2024

Files identified in the description:

None

If these files are incorrect, please update the component name section of the description or use the component bot command.

from ansible.

felixfontein avatar felixfontein commented on September 26, 2024

I guess either there's a way to work around this from ansible-test's side, or it's dropping CentOS 7 from CI matrixes...

from ansible.

mattclay avatar mattclay commented on September 26, 2024

@felixfontein I'm looking into this. Do you happen to know what changed on PyPI to cause the SSL validation issue?

from ansible.

felixfontein avatar felixfontein commented on September 26, 2024

No idea, my guess is that they got issued a new certificate whose root is no longer in root store that comes with the Python on CentOS 7.

In fact I think I see the problem: pypi.python.org is simply a redirect to pypi.org. The latter's certificate is likely OK, but the former is using a Let's Encrypt certificate that got issued today. It uses the IRSG X1 root which was only added to cert root stores in 2016, and is probably not included in CentOS 7's root store. (https://www.ssllabs.com/ssltest/analyze.html?d=pypi.python.org&s=2a04%3a4e42%3a5000%3a0%3a0%3a0%3a0%3a223&hideResults=on&latest)

So I guess there are two possible solutions:

  1. Add the IRSG root manually.
  2. Tell pip to use https://pypi.org/ directly instead of https://pypi.python.org/

I guess (or better: would hope that!) the second option is the easiest to implement.

from ansible.

mattclay avatar mattclay commented on September 26, 2024

@felixfontein I opened #83226 to address this without updating the container.

from ansible.

felixfontein avatar felixfontein commented on September 26, 2024

@mattclay setting PIP_INDEX_URL to https://pypi.org/simple might also work. But the proxy should work as well.

from ansible.

felixfontein avatar felixfontein commented on September 26, 2024

The PR and both backports have been merged, closing.

from ansible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.