Commit 94c7839
committed
Fix LDAP URL to use hostname instead of IP address
Use edpm_node_hostname variable instead of IP address to avoid
TLS certificate hostname mismatch error when keystone connects
to LDAP server.
The IP address (192.168.122.100) in the LDAP URL caused:
'ldap.SERVER_DOWN: TLS: hostname does not match name in peer certificate'
This fix ensures the LDAP URL uses the hostname (ipa.ooo.test)
which matches the certificate CN/SAN.
Fixes: OSPRH-6861
Related: PR #9701 parent 7410e0b commit 94c7839
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments