1
Mar 12 09:17:22 ldap slapd[1859]: main: TLS init def ctx failed: -1
Mar 12 09:17:22 ldap slapd[1859]: DIGEST-MD5 common mech free
Mar 12 09:17:22 ldap slapd[1859]: slapd stopped.
Mar 12 09:17:22 ldap slapd[1859]: connections_destroy: nothing to destroy.
Mar 12 09:17:22 ldap systemd[1]: slapd.service: main process exited,
code=exited, status=1/FAILURE
Mar 12 09:17:22 ldap systemd[1]: Unit slapd.service entered failed state.
Mar 12 09:17:22 ldap systemd[1]: slapd.service failed.

我该如何解决这个错误!!这是我的证书

 grep tls -ir /etc/openldap/slapd.d/*
/etc/openldap/slapd.d/cn=config.ldif:olcTLSCACertificatePath: /etc/openldap/certs
/etc/openldap/slapd.d/cn=config.ldif:olcTLSCertificateFile: "OpenLDAP Server"
/etc/openldap/slapd.d/cn=config.ldif:olcTLSCertificateKeyFile: /etc/openldap/certs/password
/etc/openldap/slapd.d/tls-enable.ldif:replace: olcTLSCACertificateFile
/etc/openldap/slapd.d/tls-enable.ldif:olcTLSCACertificateFile: /etc/openldap/certs/truststore.pem
/etc/openldap/slapd.d/tls-enable.ldif:replace: olcTLSCertificateFile
/etc/openldap/slapd.d/tls-enable.ldif:olcTLSCertificateFile: /etc/openldap/certs/nifi-cert.pem
/etc/openldap/slapd.d/tls-enable.ldif:replace: olcTLSCertificateKeyFile
/etc/openldap/slapd.d/tls-enable.ldif:olcTLSCertificateKeyFile: /etc/openldap/certs/nifi-key.key.pem
4

0 回答 0