Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have tried all of these variations for the contents of the ldap.conf and openldap.conf files in all the locations mentioned in this post: http://stackoverflow.com/questions/35018674/php-ldap-connect-using-ldaps-to-connect-to-active-directory-getting-unknown-ca-e/35020990#35020990
- Note: certnew_b64.cer is the CA's certificate in PEM format.
- V1:
- ------------
- tls_cacertfile E:\OpenSSL\bin\PEM\ad_ca_cert\certnew_b64.cer
- ------------
- V2:
- ------------
- tls_cacertfile E:\\OpenSSL\\bin\\PEM\\ad_ca_cert\\certnew_b64.cer
- ------------
- V3:
- ------------
- tls_cacertfile E:/OpenSSL/bin/PEM/ad_ca_cert/certnew_b64.cer
- ------------
- V4:
- ------------
- tls_cacertfile E:\\OpenSSL\\bin\\PEM\\ad_ca_cert\\certnew_b64.cer
- tls_cacertdir E:\\OpenSSL\\bin\\PEM\\d_ca_cert\\
- ------------
- V5:
- (I tried to get the output from executing my test PHP script to show any kind of error that would indicate it is trying to use this conf file by putting an invalid statement into it. No change in test php output.
- ------------
- Obvious Syntax Error
- tls_cacertfile E:\\OpenSSL\\bin\\PEM\\ad_ca_cert\\certnew_b64.cer
- tls_cacertdir E:\\OpenSSL\\bin\\PEM\\d_ca_cert\\
- ------------
Advertisement
Add Comment
Please, Sign In to add comment