Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to set up LDAP client access using TLS. I've added the certificates of my CA and both gnutls and openssl connect just fine to the LDAP server. When I try ldapsearch though it still says TLS: peer cert untrusted or revoked

As said: connecting with gnutls-cli results in Peer's certificate is trusted. I've set tls_cacertfile /etc/ssl/certs/ca-certificates in my LDAP configuration and this is the same cacert file I use when I tried connecting with gnutls-cli and openssl.

This rules out any source of error I've found on this topic so far

Where can I go from here?

Thanks

edit: gnutls version is 2.8.6

share|improve this question

1 Answer 1

up vote 0 down vote accepted

derp Just came along something by chance... the correct configuration directive is tls_cacert and not tls_cacertfile as the default config file indicates

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.