icCube

SSL (HTTPS)

As icCube is embedding a Jetty server (v9.4.8), configuring SSL (aka. HTTPS) connector for icCube is the same as configuring SSL for Jetty. Therefore, for more information the reader may refer for example to the following page.

icCube.xml

Specific properties are available within the icCube.xml configuration file. For up to date information please refer to this file in your installation.

        <!--
            -1 means the SSL (i.e., HTTPS) connector is not activated.
        -->
        <sslPortNumber>-1</sslPortNumber>

        <!--
            Consistent with Jetty 9.x configuration :

                    http://www.eclipse.org/jetty/documentation/current/configuring-ssl.html

            An optional path to the key store when using the SSL connector.

            (not relevant if SSL port number = -1)
        -->
        <sslKeyStorePath/>

        <!--
            See Jetty documentation to generate an OBF: value

                java -cp jetty-all-9.4.8.v20171121-uber.jar org.eclipse.jetty.util.security.Password your-password
                java -cp jetty-all-9.4.8.v20171121-uber.jar org.eclipse.jetty.util.security.Password OBF:your-obfuscated-password

            If not specified, the value will be prompted on the console.

            (not relevant if SSL port number = -1)
        -->
        <sslKeyStorePassword/>

        <!--
            Defaulted to JKS (others JCEKS, PKCS12, ...).

            (not relevant if SSL port number = -1)
        -->
        <sslKeyStoreType/>
    

You'll have to setup the JVM boot classpath as following:

        java -Xbootclasspath/p:/path-to-icCube/lib/jetty/alpn-boot-8.1.12.v20180117.jar ...
    

Next chapter : HTTP/2.