Best guess is that you are confusing a client cert, which is used (optionally) to identify yourself to the server, and a root cert, which you use to validate the cert that the server returns to you.
Your "group" may be telling you that you don't need a client cert
for them to accept a connection from you. But in all cases their
server will be returning a ("locally sign" sic) certificate to you,
and it looks like ldapsearch is failing to verify that certificate.
It needs a local copy of some kind of "root" certificate to do so.If s_client -showcerts is showing the root certificate you could grab a copy and put it wherever ldapsearch expects to find the root certificate, and see if that helps...
Eric Buchman wrote:
Hey Everyone,
Summary Question: Is there a command I can issue (openssl) that will allow me to retrieve a cert I can store for my client intranet application to perform ldapw/ssl authorization?
Situation:
Forgive my "newness" to openssl. I've have a Intranet Postnuke server that uses openldap for admin authorization . I've recompiled my openldap and php for openssl, the openssl was configured for client only(no slapd, slurpd). My pickle is that I've been told by the group controlling the authorizing server I do not need a cert for ssl connection to their server. Every where I compare my error the answers appear to be in having a local cert. Their authorization server is using a locally sign cert.
At first I was running an ldapsearch -ZZ -d7 -x -h <authorization server> I get the error:
SSL3_GET_SERVER_CERTIFICATE: certificate verify failed
Then I ran ./openssl s_client -connect <authserver>:636 -showcerts -state which produces information of a locally signed certificate
I believe I will need a locally stored cert on the intranet server(client), the two authorization administrators of the server, whom have been quite helpful actually, are out of the office this week. It would be nice to perform some validation while their gone, thus the need for a command to retrieve a certificate I can store.
2.1x of openldapl 0.9.7c of openssl
Thank you for any help.
Regards, Eric
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
-- Charles B (Ben) Cranston mailto: [EMAIL PROTECTED] http://www.wam.umd.edu/~zben
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
