The openssl verify command fails to verify a server certificate from Red Hat Enterprise Linux 8.3 with openssl-1.1.1g

Solution In Progress - Updated -

Issue

  • We are trying to verify a server certificate with openssl verify command in Red Hat Enterprise Linux 8.
# openssl verify -CAfile ca.pem cert.pem
  • It worked until Red Hat Enterprise Linux 8.2, but it doesn't work from Red Hat Enterprise Linux 8.3 with the exactly same certificate.
# openssl verify -verbose -CAfile ca.pem cert.pem 
... snip ...
error 20 at 0 depth lookup: unable to get local issuer certificate
error ./cert.pem: verification failed

Environment

Red Hat Enterprise Linux 8.3

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