Hey people.

Been trying to use ice to export information. The initial goal was to import a schema ldif file.
However i've met a hurdle and i cant seem to get ice running.

I require TLS for simple binds with passwords so i must use SSL.

But i cant get ice to work with this.

Here's my commandline
ice -l ice.log -v -S LDAP -s xxx.xxx.xxx.xxx -p 636 -d cn=admin,o=xxx -W -L srv.der -R -b o=xxx -c one -F objectclass=* -a "sn" -D LDIF -f export.ldf

The error output is just:
ldap_simple_bind failed: 81(Can't contact LDAP server), dn: cn=admin,o=xxx

I've dont a trace with all the ldap debug options set but cant see much

09:44:12 A64A7BA0 LDAP: TLS accept failure 1 on connection 0x32535280, setting err = -5875. Error stack:
error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate - SSL alert number 42
09:44:12 A64A7BA0 LDAP: TLS handshake failed on connection 0x32535280, err = -5875
09:44:12 A64A7BA0 LDAP: BIO ctrl called with unknown cmd 7

If i understand correctly this is cosmetic and not the problem...

Anyone got any ideas?