--On Monday, October 5, 2020 10:49 AM +0200 Ulrich Windl Ulrich.Windl@rz.uni-regensburg.de wrote:
kevhilton@gmail.com schrieb am 05.10.2020 um 03:22 in Nachricht
20201005012213.798.68795@hypatia.openldap.org:
Hi - I'm using osixia/openldap docker container.
I've created self signed client and server certs.
I'm receiving the following error when trying to perform ldapsearch from the Arch linux docker host. Here is a summary of the error:
# ldapsearch -x -d1 -b 'dc=ldap,dc=gohilton,dc=com' -D "cn=admin,dc=ldap,dc=gohilton,dc=com" -H ldaps://127.0.0.1:636 -W -LLL d
I wonder: How should an SSL certificate for localhost (127.0.0.1) look like? I would not recommend either to include "localhost" or "IP:127.0.0.1" to the certificate, meaning: Does it work when you connect using the official IP address from a remote host?
There's an example in the OpenLDAP 2.5 test suite.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com