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

use /etc/pki/ca-trust/source/anchors as cert_dir on modern RHEL? #24

Open
aaronenberg opened this issue Mar 8, 2023 · 1 comment
Open

Comments

@aaronenberg
Copy link

aaronenberg commented Mar 8, 2023

I noticed that cert_dir always gets certs joined onto it. However, /etc/pki/ca-trust/extracted is a dynamically created directory generated by the update-ca-trust script and the pem subdirectory is just one of the many created by this script that stores PEM bundles. None of them have a certs subdirectory AFAIA.

I think the probe will find the legacy /etc/pki/tls/certs right after and sets cert_dir to that.

Can this directory and possibly others like it be separated from the directories that do have a certs subdirectory?

@aaronenberg aaronenberg changed the title /etc/pki/ca-trust/extracted/pem does not have a "certs" subdirectory /etc/pki/ca-trust/extracted/pem does not have a certs/ subdirectory Mar 8, 2023
@aaronenberg
Copy link
Author

aaronenberg commented Mar 8, 2023

To add onto this, the appropriate cert_dir replacement on these modern RHEL systems I believe is
/etc/pki/ca-trust/source/anchors for "simple trust anchors". This would be yet another list of cert_dirs that do not have a certs subdirectory but unlike /etc/pki/ca-trust/extracted it is an actual cert_dir

@aaronenberg aaronenberg changed the title /etc/pki/ca-trust/extracted/pem does not have a certs/ subdirectory use /etc/pki/ca-trust/source/anchors as cert_dir on modern RHEL? Mar 8, 2023
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

No branches or pull requests

1 participant