The openssl verify command fails to verify a server certificate from Red Hat Enterprise Linux 8.3 with openssl-1.1.1g
Issue
- We are trying to verify a server certificate with
openssl verify
command inRed 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 fromRed 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.