users@glassfish.java.net

[gf-users] Re: Re: glassfish V4 and ssl

From: Jeffrey Beckstrom <JBECKSTROM_at_gcrta.org>
Date: Fri, 22 May 2015 12:20:22 -0400

Then why on Admin GUI is there an option to enter the keystore's name?

>>> Andreas Ernst <ae_at_ae-online.de> 5/22/15 9:05 AM >>>
Am 22.05.15 um 14:57 schrieb Jeffrey Beckstrom:
> I think I found the problem. I backed up keystore.jks and then copied my
> server.keystore to keystore.jks. Restarted Glassfish it shows the
> default web page for Glassfish. I can't run the application at this time
> since its database is down for cloning. Looks like my server.keystore
> file was being ignored.

The keystore is defined in th domain.xml. And you have to put your
certificates inside it.

[...]
<jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
[...]

-- 
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
ae_at_ae-online.de | www.ae-online.de
www.tachyon-online.de
.