This page was last edited on February 1, 2018, at 19:24.
Comments or questions about this documentation? Contact us for support!
The Jetty web server supplied with the Genesys Knowledge Center Server and CMS includes a pre-configured, self-signed certificate. This allows you to use HTTPS out of the box in a sandbox deployment. In common case, you should use a certificate issued by a third-party Certificate Authority. The procedures on this page provide examples of ways to load SSL certificates and configure Jetty. These examples may vary depending on your environment.
Prerequisites
Start
End
Start
<Configure id="sslContextFactory" class=
"org.eclipse.jetty.util.ssl.SslContextFactory">
<Set name="KeyStorePath"><path to keystore><Property name=
"jetty.base"
default="." />/<Property name="jetty.keystore" default=
"etc/keystore"/></Set>
<Set name="KeyStorePassword">OBF:<obfuscated_keystore_password>
<Property name="jetty.keystore.password"
default="OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4"/></Set>
<Set name="KeyManagerPassword">OBF:
<obfuscated_keymanager_password><Property name=
"jetty.keymanager.password"
default="OBF:1u2u1wml1z7s1z7a1wnl1u2g"/></Set>
<Set name="TrustStorePath">"><path to truststore><Property name=
"jetty.base" default="." />/<Property name="jetty.truststore"
default="etc/keystore"/></Set>
<Set name="TrustStorePassword"> OBF:
<obfuscated_truststore_password><Property name=
"jetty.truststore.password"
default="OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4"/></Set>
<Set name="EndpointIdentificationAlgorithm"></Set>
<Set name="NeedClientAuth"><Property name=
"jetty.ssl.needClientAuth" default="false"/></Set>
<Set name="WantClientAuth"><Property name=
"jetty.ssl.wantClientAuth" default="false"/></Set>
<Set name="ExcludeCipherSuites">
<Array type="String">
<Item>SSL_RSA_WITH_DES_CBC_SHA</Item>
<Item>SSL_DHE_RSA_WITH_DES_CBC_SHA</Item>
<Item>SSL_DHE_DSS_WITH_DES_CBC_SHA</Item>
<Item>SSL_RSA_EXPORT_WITH_RC4_40_MD5</Item>
<Item>SSL_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
<Item>SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
<Item>SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA</Item>
</Array>
</Set>
End
The keystore file in the example above is given relative to the Jetty home directory. For production, you should keep your keystore in a private directory with restricted access. Even though the keystore has a password, the password may be configured into the runtime environment and is vulnerable to theft.
You can now start Jetty the normal way (make sure that jcert.jar, jnet.jar and jsse.jar are on your classpath) and SSL can be used with a URL, such as https://your_IP:8743/