On Tue, Feb 1, 2011 at 6:07 PM, Witold Baryluk <bary...@smp.if.uj.edu.pl> wrote:
> On 02-01 14:41, Gabriele Giacone wrote:
>> On Tue, Feb 1, 2011 at 1:15 PM, Witold Baryluk <bary...@smp.if.uj.edu.pl> 
>> wrote:
>> > I tried really hard, but have no idea how to
>> > add /etc/ssl/certs directory as CApath.
>> > I cannot even add single CA certificate.
>> >
>> > I tried changing paths (default is /etc/ssl/certs/java/cacerts
>> > which do not exists), files, keystore types. Nothing helps.
>> > jxplorer asks me for some passphrases, or tells me that
>> > there is no such file.
>>
>> As "Security menu - Advanced Keystore Options" says, default CA
>> keystore is /etc/ssl/certs/java/cacerts.
>
> I have no idea why.

I decided to set it so to follow debian way, with java CA certificates
in ca-certificates-java.

>> Please install "ca-certificates-java", which it's already installed if
>> you use "openjdk-6-jre" from main.
>>
>> Then please read /usr/share/doc/jxplorer/NEWS.Debian.gz
>
> I installed ca-certificates-java, and it automagically create 
> /etc/ssl/certs/java/cacerts,
> and added my certificates from /etc/ssl/certs/ and other standard Debian 
> locations
> (/usr/local/share/ca-certificates/). It is really shame that Java cannot just 
> directly use
> /etc/ssl/certs files, and needed some converter :(
> I assume it have something to do with portability of java.

That's the way java handles certificates: java keystores.

> How about adding Recomends: ca-certificates-java. I do not know why,
> but i did have it installed on this box. (I check also on 3 other machine
> where I have java and there was no ca-certificates-java, only 
> ca-certificates).

Probably all machines you mentioned have sun-java6-jre (non-free)
instead of openjdk6-jre (main). Just the latter depends on
ca-certificates-java.
I'll add it as Recommends as you suggest or I'll try to figure out if
it's better proposing it as sun-java6-jre dependency.

> Thanks, and sorry for not reading NEWS.Debian.gz.
No problem. Thanks for your bug.

Cheers,
Gabriele

> As I say option in UI, i expected that standard PEM files would be supported.
> And still think that they should, i wonder why they are not already
> supported in java nativly. PEM (DER) is pretty standard format.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to