users@glassfish.java.net

Re: Glassfish certificate chain

From: Bruno Bonfils <asyd_at_asyd.net>
Date: Sun, 23 Aug 2009 10:25:53 +0200

On Sat 22 August, Serge Fonville wrote:
> Hi,
>
> I figured out I needed to convert all of them to DER prior to importing them...
>
> I used: http://www.agentbob.info/agentbob/79-AB.html for the steps to
> importing the key.
>
> > What error do you have?
>
> I ran:
> --
> java ImportKey sergefonville.nl.key.der sergefonville.nl.der
>
> I got:
> --
> Using keystore-file : C:\Users\Serge Fonville\keystore.ImportKey
> java.security.cert.CertificateParsingException: no more data allowed
> for version 1 certificate

Can you show your certificate? Seem you're using some extensions which
are not allowed in version 1 of x509 certificate, you probably should
use version 3 instead. How you generated your certificate?

-- 
http://asyd.net/home/    - Home Page
http://guses.org/home/   - French Speaking (Open)Solaris User Group
http://netvibes.com/asyd - Portal