LDAPS certificate location

Hello,

my program does ldap serch. Without LDAPS everything works great, but as soon as i am trying to use LDAPS IBM virtual machine keeps saying that certificate is not trusted (meaning that it can't fidn trust store) and Sun comlaines about invalid signamure. I can do my custom factory, but i am loosing benefits on connection pool.

To set location of trust file i use system properties

System.setProperty("javax.net.ssl.trustStore","C:\\clientkeys");

System.setProperty("javax.net.ssl.trustStoreType","JKS");

System.setProperty("javax.net.ssl.trustStorePassword","changeit");

What is aproper was to set trust store location?

Thanks

Yev

[696 byte] By [Yeva] at [2007-11-27 7:50:30]
# 1
Solved it. It looks like loadinf certificate in a store as base64 vs DER makes a difference
Yeva at 2007-7-12 19:31:31 > top of Java-index,Core,Core APIs...