How to install a CA certificate on Red Hat Enterprise Linux 7 and later?

Solution Verified - Updated -

Issue

  • I purchased a SSL certicate and I have the CA bundle but when I try to run the following command it fails with the error below. How do I install the certificate?

    # openssl verify server.crt
    server.crt: C = US, O = GeoTrust Inc., CN = GeoTrust Global CA
    error 2 at 2 depth lookup:unable to get issuer certificate
    
    # openssl verify -CAfile rapidSSL-ca.crt server.crt 
    OK
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • ca-certificates

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