just a question (no proposal) - can WSS4J be configured to rely on a
custom cert store that would be distributed together with our test
case ? that way the test case would be self contained and does not
depend on 3rd party stuff.

Cheers
Daniel

On Mon, Aug 17, 2009 at 10:10 PM, Karan Malhi<[email protected]> wrote:
> Jean-Louis,
>
> My cacerts file does not exist. Looks like this is broken in debian linux,
> because the openjdk in debian (Lenny), the cacerts file is a link to
> /etc/ssl/certs/java/cacerts, and that file does not exist . According to the
> openjdk documentation, it right now ships with an empty cacerts file (unlike
> the sun jdk). I guess, I will need to switch to sun jdk.
>
> Thanks for the help.
>
> On Mon, Aug 17, 2009 at 3:46 PM, Jean-Louis MONTEIRO <
> [email protected]> wrote:
>
>>
>>
>>
>> KMalhi wrote:
>> >
>> > Caused by: java.io.FileNotFoundException:
>> > /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts (No such file or
>> > directory)
>> >     at java.io.FileInputStream.open(Native Method)
>> >     at java.io.FileInputStream.<init>(FileInputStream.java:137)
>> >     at java.io.FileInputStream.<init>(FileInputStream.java:96)
>> >     at
>> >
>> org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:109)
>> >
>>
>> WSS4J is trying to load default trust store from the JVM.
>> String cacertsPath = System.getProperty("java.home") +
>> "/lib/security/cacerts";
>>
>> Jean-Louis
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/build-fails-due-to-webservice-ws-security-example-tp25012817p25013001.html
>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Karan Singh Malhi
>

Reply via email to