Apache httpd fails to connect to ldap with "unknown CA" error after upgrading to RHEL 8

Solution Verified - Updated -

Issue

Enabled the debug logs with LDAPLibraryDebug 7 in the Apache httpd and it is showing that the certificate CA is unknown:

TLS certificate verification: Error, unable to get local issuer certificate
TLS trace: SSL3 alert write:fatal:unknown CA
TLS trace: SSL_connect:error in error
TLS: can't connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed (unable to get local issuer certificate).

Environment

Red Hat Enterprise Linux (RHEL) 8.x

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