Apache httpd fails to connect to ldap with "unknown CA" error after upgrading to RHEL 8
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.