Skip to end of metadata
Go to start of metadata

GateIn Portal3.5 default run on the HTTP mode. However, for security purpose, you can config GateIn Portal to run on the HTTPS mode. This section show you how to config GateIn with HTTPS mode.

Generate your key

If you haven't your own X.509 certificate, you can make a simple certificate using the keytool command:

Now, your key is stored in server.keystore.

You need to import your key into the Sun JDK keystore (This is required to help running gadget features)

On OS X cacerts file is located at $JAVA_HOME/lib/security/cacerts.

Also, since your Sun JDK keystore has a different password than the one used for the key you created in the first step you have to change your key password to match the new keystore password (probably it's the default JDK trustore pasword: 'changeit')

Setup JBoss configuration to use your key

  1. Edit $JBOSS_HOME/standalone/configuration/standalone.xml by adding https connector to web subsystem configuration (change certificate-key-file and password to values appropriate for your keystore - here we assume the keystore password is 'changeit'):

You can now access the portal by going to https://localhost:8443/portal.

Setup Tomcat configuration to use your key

  1. Edit server.xml from tomcat/conf folder by commenting the lines:
  1. Uncomment lines and add keystoreFile and keystorePass values:
  1. Restart GateIn. If your configuration is correct, you can access to GateIn via https://<ServerAddress>:8443/portal.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 10, 2013

    ENTERPRISE WRITERS: This info is contained in the Installation Guide

  2. Jan 15, 2013

    Did not add the note about OS X certificate location to the Enterprise docs as OS X is not listed as a tested configurations here:

    Other change incorporated.

  3. Mar 08, 2013

    Can we get a note on how to accomplish SSL with mod_cluster in the JBoss section? I'm giving it a go but not having much luck, at least with 3.5.0 final. Indications from googling suggest that SSL in the version of mod_cluster in AS 7.1.1 is broken, though. 

  4. Oct 22, 2013


    Maybe you want to review this:

    java.home itself points to jre.