TLS CA cert verification support

55 views
Skip to first unread message

Ken Coar

unread,
May 21, 2014, 2:39:54 PM5/21/14
to ruby...@googlegroups.com
Is adding more support for certificate processing in the roadmap?

I have a requirement to verify the CA cert that signed the LDAP server's cert, but that granularity doesn't appear to have been reached yet.

Someone roughed out an initial pass at https://gist.github.com/mintuhouse/9931865 but I don't know how it would fit into the upstream code.

I'm looking for something like Python's

ldap.set_option(ldap.OPT_X_TLS_CACERTFILE,'/etc/pki/tls/certs/cacert.crt')

Thanks!

Ken Coar

unread,
May 21, 2014, 2:46:01 PM5/21/14
to ruby...@googlegroups.com
I see now that someone has already submitted a pull request for this as issue # 87 https://github.com/ruby-ldap/ruby-net-ldap/pull/87

I haven't tested that, but I hope someone in the net-ldap project can vet it and merge it..

Thanks!
Reply all
Reply to author
Forward
0 new messages