CA Certificates
Cheat sheet · https://pcornel.dk/topic.php?topic=2872
Answer
CA certificates are the trusted roots (and internal CAs) in the system trust store: /etc/ssl/certs (Debian) or /etc/pki/ca-trust (RHEL).
Remember
Add a CA: Debian — copy to /usr/local/share/ca-certificates/<name>.crt and update-ca-certificates; RHEL — copy to /etc/pki/ca-trust/source/anchors/ and update-ca-trust. Java and some languages use their own stores.
First checks
openssl x509 -in <cert> -noout -subject -issuer -dates -ext subjectAltName— certificate detailsopenssl s_client -connect <host>:443 -servername <name> </dev/null— live chain and verificationopenssl verify -CAfile <ca> -untrusted <chain> <cert>— chain validationtrust list | head / ls /etc/ssl/certs— system trust store
Verify in this order
CA added to the source directory → store rebuilt → clients using the system store trust it
Where it usually breaks
First mismatch in identity/group resolution → Unix mode/ACL/capability → mount/sandbox constraint → SELinux/AppArmor policy → credential/TLS trust → protected operation; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2872