TLS: could not load verify locations (file:`/path/to/example.pem',dir:`').
Issue
- Trying to set file or database containing global trusted Certificate Authority or global client certificates using
LDAPTrustedGlobalCert
but getting errorTLS: could not load verify locations
. - I am trying to set the directory path and file name of the trusted CA certificates and/or system-wide client certificates mod_ldap should use when establishing an SSL or TLS connection to an LDAP server.
/path/to/example.pem
is present but still gettingTLS: could not load verify locations (file:/path/to/example.pem',dir:').
Environment
- Red Hat Enterprise Linux (RHEL) 7, 8, 9
- httpd
- Red Hat Software Collections (RHSCL) 2.4
- httpd24
- Red Hat JBoss Core Services (JBCS)
- httpd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.