-
Notifications
You must be signed in to change notification settings - Fork 992
Open
Labels
Description
I got ldap_modify: Other (e.g., implementation specific) error (80)
error during startup with godaddy certificate
I start the container by
docker run -d -v $HOME/certs:/container/service/slapd/assets/certs \
-h ldap.mycompany.com \
--name=ldap \
-e LDAP_TLS_CRT_FILENAME=425ddb461b040d25.crt \
-e LDAP_TLS_KEY_FILENAME=mycompany_com.key \
-e LDAP_TLS_CA_CRT_FILENAME=gd_bundle-g2-g1.crt \
-e LDAP_ORGANISATION="My Company Inc." \
-e LDAP_DOMAIN="mycompany.com" \
osixia/openldap:1.0.9
but it exited with status 80. Here are the logs where it fails:
Use TLS
Files /container/service/slapd/assets/certs/425ddb461b040d25.crt and /container/service/slapd/assets/certs/planetmeican_com.key already exists
ldap_modify: Other (e.g., implementation specific) error (80)
modifying entry "cn=config"
*** /etc/my_init.d/slapd failed with status 80
*** Killing all processes...
At first i tried to use a self-signed certificate generated by openssl, but it seems that this image uses gnu-tls, and they're incompatible, so it doesn't work. After that i used certificate generated by this image, that works.
but when i changed to godaddy certificate, i got this error. I even tried to replace gnutls with openssl in dockerfile and container-start.sh and rebuild the image, but got the same error