How to configure CipherSuite used for SA Server/Jetty Server
Originally Published: 2014-10-23
Article Number
Applies To
Issue
The cipher suite is configurable via jetty configuration files.
Tasks
2. Restart jetty server to make change take effect
Resolution
[root@saserver etc]# cat /etc/init/jettysrv.conf # start/stop/respawn jetty server start on runlevel [3] stop on runlevel [!3] console none exec /opt/rsa/jetty9/bin/jetty.sh run pre-start script if [ -d /var/lib/netwitness/jetty/uax ] && ! [ -d /var/lib/netwitness/uax/logs ]; then mkdir -p /var/lib/netwitness/uax/logs fi end script pre-stop script if [[ `ps x | grep "/usr/bin/java.*-jar /opt/rsa/jetty9/start.jar"` ]]; then exec /opt/rsa/jetty9/bin/jetty.sh stop fi end script respawn respawn limit 10 5
On above example, the jetty home directory is /opt/rsa/jetty9/
2. Goto the jetty home directory, find the ssl configuration file. (etc/jetty-ssl.xml)
3. By default, in the configuration contains cipher configuration entries:
<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>
Those are ciphersuites that are not used by jetty server.
To see a complete list of ciphers, consult this URL:
http://docs.oracle.com/javase/6/docs/technotes/guides/security/SunProviders.html#SunJSSEProvider
4. Make a backup of original xml file then modify cipher configuration section according to your requirement, you can either exclude more ciphers or use "<Set name="IncludeCipherSuites">" to only include ciphers configured here.
Below is an example for include ciphers. (NOTE, if you need to include, remove the entire exclude section first.)
<Set name="IncludeCipherSuites">
<Array type="java.lang.String">
<Item>TLS_DHE_DSS_WITH_AES_128_CBC_SHA</Item>
<Item>TLS_DHE_RSA_WITH_AES_128_CBC_SHA</Item>
<Item>TLS_RSA_WITH_AES_128_CBC_SHA</Item>
<Item>TLS_DHE_DSS_WITH_AES_256_CBC_SHA</Item>
<Item>TLS_DHE_RSA_WITH_AES_256_CBC_SHA</Item>
<Item>TLS_RSA_WITH_AES_256_CBC_SHA</Item>
</Array>
</Set>
Another example for only disabling all the SSLv3 and lower cipher suites:
<Set name="ExcludeCipherSuites">
<Array type="String">
<Item>SSL_RSA_WITH_RC4_128_MD5</Item>
<Item>SSL_RSA_WITH_RC4_128_SHA</Item>
<Item>SSL_RSA_WITH_3DES_EDE_CBC_SHA</Item>
<Item>SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA</Item>
<Item>SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA</Item>
<Item>SSL_RSA_WITH_3DES_EDE_CBC_SHA</Item>
<Item>SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA</Item>
<Item>SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA</Item>
<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>
<Item>SSL_RSA_WITH_NULL_MD5</Item>
<Item>SSL_RSA_WITH_NULL_SHA</Item>
<Item>SSL_DH_anon_WITH_RC4_128_MD5</Item>
<Item>SSL_DH_anon_WITH_3DES_EDE_CBC_SHA</Item>
<Item>SSL_DH_anon_WITH_DES_CBC_SHA</Item>
<Item>SSL_DH_anon_EXPORT_WITH_RC4_40_MD5</Item>
<Item>SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA</Item>
</Array>
</Set>
5. Restart the jettysrve service with the following commands:
restart jerttysrv
or
stop jettysrv followed by start jettysrv
Related Articles
Missing tabs and skewed buttons in the RSA Identity Governance & Lifecycle user interface after Google Chrome updates 196Number of Views Collect Prime logs and Configuration files using the collect script 140Number of Views RSA Identity Governance and Lifecycle SAML SSO failing with error "Did not find user with attribute" 210Number of Views RSA Authenticator 6.2.6 for Windows Release Notes 32Number of Views Default token policy change prompts every user to change their PIN in RSA Authentication Manager 8.x 226Number of Views
Trending Articles
Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Governance & Lifecycle 8.0.0 Administrators Guide RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?