Skip to content
New issue

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

fix: setup OpenSSL certificates in macos-pkg-setup-template.sh #189

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

mayeut
Copy link
Contributor

@mayeut mayeut commented Oct 1, 2022

The macOS pkg installer does not setup default certificates for OpenSSL.
A script is provided by the macOS pkg installer to setup those using the certifi PyPI package.
Let's run this script as part of the setup template in order to be able to do HTTPS downloads out of the box.

fixes actions/setup-python#512

The macOS pkg installer does not setup default certificates for OpenSSL.
A script is provided by the macOS pkg installer to setup those using the certifi PyPI package.
Let's run this script as part of the setup template in order to be able to do HTTPS downloads out of the box.
@mayeut
Copy link
Contributor Author

mayeut commented Oct 1, 2022

PS: I checked that without this fix, the added test would fail: https://github.com/mayeut/python-versions/actions/runs/3164018493
PS2: I checked the added tests do not break on other builds: https://github.com/mayeut/python-versions/actions/runs/3164224260

@vsafonkin vsafonkin merged commit 1e1d9f9 into actions:main Oct 3, 2022
@vsafonkin
Copy link

@mayeut thank you for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSL root certificates missing on GHA/macOS/Python 3.11
4 participants