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

Update ca-certs base image #4153

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Update ca-certs base image #4153

merged 2 commits into from
Apr 24, 2024

Conversation

sparrc
Copy link
Contributor

@sparrc sparrc commented Apr 23, 2024

re-opening of #4079 due to CI issues

Summary

With this PR, ecs-agent will pull in a newer ca-certificates package, from the current stable release of Debian, and will no longer attempt to remove the CNNIC certs, which have already been removed upstream

Implementation details

The stable-20211201-slim image that is currently used to source ca-certificates is running Debian's bullseye release (a.k.a. oldstable), and as such, pulls in ca-certificates version 20210119. By using a newer stable image (stable-20240110-slim), the newer ca-certificates version 20230311 will be used.

I also noticed that the certs Dockerfile was performing an extra step to attempt to remove the CNNIC_ROOT certificate, however this cert no longer appears to be present in current versions of the package.

Testing

make test was run. There were some upgrade related tests that failed there (TestCNIPluginVersionUpgrade mainly), however it appears to be the same result from an unmodified master branch.

New tests cover the changes: no; There is no change in functionality to test

Description for the changelog

Update ca-certificates
Does this PR include breaking model changes? If so, Have you added transformation functions?

No functionality changes were made.

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sparrc sparrc requested a review from a team as a code owner April 23, 2024 22:06
@sparrc sparrc mentioned this pull request Apr 23, 2024
@sparrc sparrc changed the base branch from master to dev April 23, 2024 22:13
stable-20211201 is based on the current `oldstable` release, `bullseye`,
and has an older ca-certificates package (20210119), whereas 20240110 is
based on the current `stable` release, `bookworm`, and has a more up to
date ca-certificates package (20230311)
Current versions of the ca-certificates package no longer include
CNNIC_ROOT certificates, so the separate trimming step is no longer necessary
@sparrc sparrc merged commit 7b9ca6f into aws:dev Apr 24, 2024
44 checks passed
@sparrc sparrc deleted the certs-upd branch April 24, 2024 15:25
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.

5 participants