Skip to content

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

Merged
vsafonkin merged 1 commit into
actions:mainfrom
mayeut:check-https
Oct 3, 2022
Merged

vsafonkin merged 1 commit into
actions:mainfrom
mayeut:check-https

Conversation

@mayeut

@mayeut mayeut commented Oct 1, 2022

Copy link
Copy Markdown
Contributor

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

mayeut commented Oct 1, 2022 •

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown

@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