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

Task: automate updating the certificates bundle #635

Closed
jrfnl opened this issue Nov 16, 2021 · 3 comments · Fixed by #669
Closed

Task: automate updating the certificates bundle #635

jrfnl opened this issue Nov 16, 2021 · 3 comments · Fixed by #669
Assignees
Milestone

Comments

@jrfnl
Copy link
Member

jrfnl commented Nov 16, 2021

Thoughts:

  • Use GH Actions with a daily cron schedule
  • Check for changes to this page and/or RSS feed if available: https://curl.se/docs/caextract.html
  • Use similar logic as used in the website update workflow to auto-generate a PR when a new bundle has been published.
@wojsmol
Copy link
Contributor

wojsmol commented Nov 17, 2021

We can simply wget https://curl.se/ca/cacert.pem and create PR if changes are detected.

@jrfnl jrfnl self-assigned this Nov 25, 2021
@jrfnl jrfnl added this to the 2.x Next milestone Nov 25, 2021
@jrfnl
Copy link
Member Author

jrfnl commented Nov 27, 2021

FYI: I have this ready and waiting for a new certificate bundle to be published, so I can actually test that the workflow works as expected ;-)

@jrfnl
Copy link
Member Author

jrfnl commented Feb 2, 2022

Just saw that a new certificates bundle has been published on https://curl.se/docs/caextract.html, so I can now (finally) pull the new workflow. If all goes well, a separate PR will automatically be opened with the certificate update.
Actually, for a PR which updates the workflow or the bundles, a new commit should be added to the open PR (if all goes well).

See: #669

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

Successfully merging a pull request may close this issue.

2 participants