Remove /config/v2tlsbaseroot-certificates.pem - use root CAs from rootfs#5561
Remove /config/v2tlsbaseroot-certificates.pem - use root CAs from rootfs#5561eriknordmark wants to merge 1 commit intolf-edge:masterfrom
Conversation
c295ca4 to
59fd5ca
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5561 +/- ##
==========================================
+ Coverage 19.52% 28.34% +8.81%
==========================================
Files 19 18 -1
Lines 3021 2417 -604
==========================================
+ Hits 590 685 +95
+ Misses 2310 1588 -722
- Partials 121 144 +23 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@eriknordmark from which Alpine version did you get the certificates? 3.16.9 (ours)? |
Yes. |
59fd5ca to
bf99176
Compare
|
@eriknordmark now that #5553 is merged and we decided we need to keep the cert in confing for Eden to work, are you going to mark this "Ready for review"? |
I think we also need to update the root certs for deployed systems and this PR currently only does that for fresh installs. |
Introduce the optional /config/extratls-certificates.pem for testing and remove the use of /config/v2tlsbaseroot-certificates.pem We also remove the v2tlsbaseroot-certificate.pem from the config partition we build. Signed-off-by: eriknordmark <erik@zededa.com>
Description
Have EVE-OS directly load the CA certificates from /hostfs/etc/ssl/certs/ca-certificates.crt
This ensures that newly installed devices get the current set of TLS root CAs from the current version of Linux in the current version of EVE-OS.
For eden testing we need to be able to add trusted TLS certificates. For that reason we introduce and use an optional /config/extratls-certificates.pem. lf-edge/eden#1128 adds the code in eden to create that file.
PR Dependencies
lf-edge/eden#1128
Changelog notes
Updated the set of root CA certificates used by TLS from the current version of Alpine, and automated the update of these each time EVE-OS is updated.
PR Backports
Here is the list of current LTS branches (it should be always up to date):
Checklist
And the last but not least:
check them.
Please, check the boxes above after submitting the PR in interactive mode.