users@glassfish.java.net

Re: ACC app client and jar-signing-alias

From: Tim Quinn <tim.quinn_at_oracle.com>
Date: Thu, 2 Dec 2010 14:36:40 -0600

Hi, Brian.

I sent the attached response a few days ago. It might have gotten
lost in the shuffle.

- Tim

attached mail follows:






On Dec 2, 2010, at 1:48 PM, Brian Leathem wrote:

> Sorry if you've received this multiple times, I'm not sure if
> messages have been getting through this past week.
>
> ----------------
>
> I'm trying to get glassfish to sign my jars with my certificate, for
> running an application client via the ACC with webstart.
>
> If I deploy the application, without specifying a jar-signing-alias,
> everything works fine - glassfish signs the jars with a self-signed
> certificate, and the application runs.
>
> When I specify my certificate, via the jar-signing-alias command line
> option, I get the error "JAR resources in JNLP file are not signed by
> same certificate".
>
> I've tried deleting all webstart applications and resources through
> the
> webstart "viewer", but this did not help. I'm "unsigning" all the
> jars
> in my ear before deploying - I know this works, because glassfish is
> able to sign the jars with it's self-signed certificate.
>
> Is there something I should be doing to get this to work? Do I have
> to
> sign some glassfish internal jars with my certificate maybe?
>
> (I'm running glassfish 3.0.1)
>
> Thanks,
> Brian Leathem
> <bleathem.vcf>