Reply to Re: unable to start TLS in ldap queries

Your name:

Reply:


Posted by yawnmoth on 01/08/07 21:07

petersprc wrote:
> Hi,
>
> You might want to make sure the hostname you're using in ldap_connect
> matches the CN in the server's certificate exactly. You could try using
> ldaps:// as the protocol. You might also need to set your certificate
> dir or file in the client's ldap.conf file too.
>
> For example, using the stock package from RHEL4:
>
> /etc/openldap/ldap.conf:
>
> TLS_CACERT /usr/share/ssl/certs/slapd.pem # self-signed cert

I'm using Windows - not Linux. Assuming I should still be using
ldap.conf, any ideas as to where it should go?

The following suggests that the location of where the ldap.conf file
should be is hard-coded:

http://www.php.net/manual/en/ref.ldap.php#47427

I tried that, though, and it doesn't work. Maybe my *.conf file is
wrong?:

TLS_CACERT cacert.pem

The cacert.pem file is in the same directory as the *.conf file.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация