Re: help on ssl authentication override, SSL Verify Depth, Cipher Suite etc

huican <[email protected]> Thu, 6 May 2010 08:55:39 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.directory
Organization http://groups.google.com
Message-ID <cd11e4a1-962b-4e40-8ed6-46a3299873c8@d19g2000yqf.googlegroups.com>
Just keep update for this post.
Except the SSLVerifyDepth, the other two issues can be solved by
modified the ldap lib code a little bit.


On Apr 14, 11:56=A0am, huican <[email protected]> wrote:
> Thanks. Anton,
>
> Do you have more detailed suggestions, especially for 1:).
>
> For: > 1:) And I am trying to let my ldap client (using c-sdk) to
> accept some
>
> > authentication cases, such as:
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =A0 Certificate Has Expired.
> > =A0 Allow Self Signed
> > =A0 Certificate Not Yet Valid
> > =A0 ...
> > Can the c-sdk allow me to override them?
>
> I still do know how.
>
> For > 2:) Also can NSS allow me to specify SSLVerifyDepth when
>
> > authentication the Cert from ldap server?
>
> Probably NSS doesn't do that, so there is no way to achieve it.
>
> For 3:) How can I specify the Cipher Suites I want to use for the ssl
>
> > connection?
>
> I noticed that I can crack the lib API, such as:
> ldapssl_advclientauth_init to SSL_CipherPrefSetDefault to do that.
> So it is not a problem anymore.
>
> Thanks
>
> On Apr 14, 3:59=A0am, Anton Bobrov <[email protected]> wrote:
>
> > yes, you gonna have to address that via NSS SSL API.
>
> > On 14/04/2010 04:16, huican wrote:
>
> > > Hello Anton,
>
> > > Do you have any suggestions here? Is there any easy way to crack on
> > > the csdk level? or I have to crack it on the NSS lib, and how?
> > > I am using the ldap csdk 6.0.4.1.
>
> > > Thanks
>
> > > On Apr 12, 4:02 pm, huican<[email protected]> =A0wrote:
> > >> Hello,
>
> > >> I read through the doc about the c-sdk about the "connection over
> > >> ssl". It is not very detailed, and now I have some questions.
>
> > >> 1:) And I am trying to let my ldap client (using c-sdk) to accept so=
me
> > >> authentication cases, such as:
> > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > >> =A0 =A0Certificate Has Expired.
> > >> =A0 =A0Allow Self Signed
> > >> =A0 =A0Certificate Not Yet Valid
> > >> =A0 =A0...
> > >> Can the c-sdk allow me to override them?
>
> > >> 2:) Also can NSS allow me to specify SSLVerifyDepth when
> > >> authentication the Cert from ldap server?
>
> > >> 3:) How can I specify the Cipher Suites I want to use for the ssl
> > >> connection?
>
> > >> Thanks
> > >> Huican Ping
>
> > > _______________________________________________
> > > dev-tech-ldap mailing list
> > > [email protected]
> > >https://lists.mozilla.org/listinfo/dev-tech-ldap