jtblin/go-ldap-client

SSL certificates

andreaneri opened this issue · 6 comments

Hello,
i switch on the option "InsecureSkipVerify",

where i should locate the needed certificates?
thanks

Andrea

If you enable the option to ignore you won’t need to point it to a certificate it will just work.

sorry, i mean the opposite, i don't want to ignore

Have you tried setting ClientCertificate using tls.LoadX509KeyPair()?

i just need to trust my private CA, i dont have key to generare a cert, is it possibile ?

On Mac, you need to add the Root Certificate to macOS Keychain.

@jtblin thanks for your reply, i added our private CA in my macOS Keychain but yet doesnt work, could you suggest some debug? thanks