$ openssl s_client -host <hostname> -port <port>
...
Verify return code: 19 (self signed certificate in certificate chain)
....
And then I tried with:
...
openssl s_client -host <hostname> -port <port> -CApath /some/path/to/all/ca-certs
...
Verify return code: 0 (ok)
...
I then edited the php.ini-file and added the following.
...
openssl.capath=/some/path/to/all/ca-certs
...
But I get the same error from the ldap-server.
Is there anybody who has experienced the same and is able to tell me the solution?
Thank you very much.
Regards
Trond.