I am trying to setup openldap to use TLS with openssl. After following the instructions at https://www.freebsd.org/doc/handbook/network-ldap.html and fixing the permissions issues, I ran into this:
I have searched around the forum and abroad with no luck. Does anyone know what could be causing this?
TLS: could not use certificate `/usr/local/etc/openldap/certs/cert.csr'. TLS: error:0909006C: PEM routines:get_name:no start line /usr/src/crypto/openssl/crypto/pem/pem_lib.c:745 TLS: error:140AD009:SSL routines:SSL_CTX_use_certificate_file: PEM lib /usr/src/crypto/openssl/ssl/ssl_rsa.c:406 5d1b99ea main: TLS init def ctx failed: -1 5d1b99ea slapd destroy: freeing system resources. 5d1b99ea slapd stopped. 5d1b99ea connections_destroy: nothing to destroy. /usr/local/etc/rc.d/slapd: WARNING: failed to start slapd