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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content