Openssl trust chain validation problem

Solution Verified - Updated -

Issue

  • The verification of a certificate chain failed when the following command is used:
 $ openssl s_client -showcerts -CAfile /etc/pki/root.crt -connect server.example.com:443
CONNECTED(00000003)
depth=1 C = COM, O = Foo, OU = Bar, CN = Internal Server CA
verify error:num=20:unable to get local issuer certificate
verify return:0

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.