Troubleshooting

A RHEL workstation's curl command to an internal HTTPS service fails with "unable to get local issuer certificate." Other workstations connect without errors. The server certificate is unexpired and its name matches the host. openssl s_client -connect shows the server sending its full chain, ending at the internal root CA. The failing workstation has never had that root CA installed. What is the BEST fix?

Show the answer

Correct answerC. Copy the internal root CA certificate to /etc/pki/ca-trust/source/anchors/ on the workstation and run update-ca-trust

The server already sends a complete chain, and other clients validate it, so the fault is the workstation's trust store lacking the internal root. On RHEL, placing the root in the anchors directory and running update-ca-trust fixes it. Appending the intermediate on the server is wrong because the chain is already complete. Using -k only disables verification.