要PHP可以连接到用self-signed certificate的ldaps服务器,需要在/etc/ldap.conf中添加一行:
TLS_REQCERT never
要PHP在Apache中连接到用self-signed certificate的ldaps服务器,需要在httpd.conf中添加一行:
LDAPVerifyServerCert Off
时间: 2024-10-09 21:37:59
要PHP可以连接到用self-signed certificate的ldaps服务器,需要在/etc/ldap.conf中添加一行:
TLS_REQCERT never
要PHP在Apache中连接到用self-signed certificate的ldaps服务器,需要在httpd.conf中添加一行:
LDAPVerifyServerCert Off