users@glassfish.java.net

RE: How to change master password ("changeit") in Glassfish V3 Prelude

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Sun, 22 Feb 2009 09:29:40 -0500

then your keystore and certs are out of synch
if you are importing an existing (pre-purchased) cert into your new keystore use
openssl pkcs12 -export -in mycert.crt -inkey mykey.key \
                        -out mycert.p12 -name tomcat -CAfile myCA.crt \
                        -caname root -chain
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html

update your server.xml
<-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<!--
<Connector
           port="8443" minSpareThreads="5" maxSpareThreads="75"
           enableLookups="true" disableUploadTimeout="true"
           acceptCount="100" maxThreads="200"
           scheme="https" secure="true" SSLEnabled="true"
           keystoreFile="${user.home}/.keystore" keystorePass="changeit"
    (A good idea to implement these SSL algorithms to prevent criminal interception)

Martin

______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.




> Date: Wed, 21 Jan 2009 19:19:06 -0800
> From: glassfish_at_javadesktop.org
> To: users_at_glassfish.dev.java.net
> Subject: Re: How to change master password ("changeit") in Glassfish V3 Prelude
>
> Yes, this command is coming in GlassFish v3 at JavaONE release. For now, you can just use
> the keytool command.
>
> e.g. JDK_HOME/bin/keytool -storepasswd -keystore <domain-folder>/config/keystore.jks -storepass "changeit" -new "changechangeit:)"
>
> This is what change-master-password essentially does, for domains that use JKS.
>
> HTH,
> Kedar
> [Message sent by forum member 'km' (km)]
>
> http://forums.java.net/jive/thread.jspa?messageID=327486
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
It’s the same Hotmail®. If by “same” you mean up to 70% faster.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Same_022009