You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
use /etc/pki/ca-trust/source/anchors as cert_dir on modern RHEL? #24
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?
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[/+]on 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
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?[/+]on Mar 8, 2023
The only reasonable approach is to point to the dir/file the script is generating and not any source which is being used. This will always result in an incomplete truststore.
Hi, the rustls team recently took over maintenance of this crate and I'm working on changes to the probing algorithm in #41. This should address some of the suggestions in the OP but it does not yet /etc/pki/ca-trust/source/anchors. Do you have some kind of reference documentation for this?
Activity
[-]/etc/pki/ca-trust/extracted/pem does not have a "certs" subdirectory[/-][+]/etc/pki/ca-trust/extracted/pem does not have a certs/ subdirectory[/+]aaronenberg commentedon Mar 8, 2023
To add onto this, the appropriate
cert_dirreplacement on these modern RHEL systems I believe is/etc/pki/ca-trust/source/anchorsfor "simple trust anchors". This would be yet another list ofcert_dirs that do not have acertssubdirectory but unlike/etc/pki/ca-trust/extractedit is an actualcert_dir[-]/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?[/+]michael-o commentedon Feb 22, 2025
The only reasonable approach is to point to the dir/file the script is generating and not any source which is being used. This will always result in an incomplete truststore.
djc commentedon Nov 27, 2025
Hi, the rustls team recently took over maintenance of this crate and I'm working on changes to the probing algorithm in #41. This should address some of the suggestions in the OP but it does not yet
/etc/pki/ca-trust/source/anchors. Do you have some kind of reference documentation for this?djc commentedon Dec 29, 2025
Going to close this for lack of feedback. Feel free to reopen if you want to pick it up again!