Files
notes/divers/import_certificate_RHEL9.md
2026-03-12 22:01:38 +01:00

20 lines
441 B
Markdown

# How to Import Your Own CA Root on RHEL 9
## Place your CA certificate in the correct directory
```bash
cp /mnt/unprotected/tmp/oracle/swgalaxy_root_ca.cert.pem /etc/pki/ca-trust/source/anchors/
```
## Update the system trust store
```bash
update-ca-trust extract
```
## Verify that your CA is now trusted
```bash
openssl verify -CAfile /etc/pki/tls/certs/ca-bundle.crt /etc/pki/ca-trust/source/anchors/swgalaxy_root_ca.cert.pem
```