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 ca-certificates issues #16

Merged
merged 1 commit into from
Mar 14, 2024
Merged

fix ca-certificates issues #16

merged 1 commit into from
Mar 14, 2024

Conversation

lucabello
Copy link
Contributor

Issue

Currently, the ca-certificates package is added to the rock, but it's missing the default certificates in /etc/ssl/certs.

This happens not because we don't stage them, but because stage-packages: [ca-certificates] doesn't run the maintainer scripts that would populate /etc/ssl/certs, so that folder stays empty.

Solution

The solution to this is to change stage-packages: to overlay-packages in the ca-certs part, because that also runs the maintainer scripts and correctly populates the /ets/ssl/certs folder.

Testing Instructions

You can test it yourself by simply running the rock and checking the certs are there via ls /etc/ssl/certs.

root@8f0199aebc08:/# which update-ca-certificates
/usr/sbin/update-ca-certificates
root@8f0199aebc08:/# ll /etc/ssl/certs/
total 604

@lucabello lucabello merged commit e9f5159 into main Mar 14, 2024
1 check passed
@lucabello lucabello deleted the fix/ca-certificates branch March 14, 2024 08:52
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.

2 participants