On the EMS server, specify cipher suites using the ssl_server_ciphers configuration parameter in tibemsd.conf. For more information about server configuration files, see Chapter 7, Using the Configuration Files.For clients connecting with a connection factory, specify cipher suites using the ssl_ciphers connection factory parameter. For more information, see Configuring SSL in EMS Clients.EMS uses OpenSSL for SSL support. Therefore, the cipher suite names can be specified as the OpenSSL name for the cipher suite.When specifying cipher suites, the usual way to specify more than one cipher suite is to separate each suite name with a colon (:) character. Alternatively, you can use spaces and commas to separate names.The syntax for specifying the list of cipher suites is different for Java clients than for any other location where cipher suites can be specified. For Java clients, you specify a qualifier (for example, + to add the suite) followed by the cipher suite name. Cipher suite names are case-sensitive. Table 67 describes the qualifiers you can use when specifying cipher suite names in a ConnectionFactory for Java clients.
All ciphers from the list (except null ciphers). You can use this keyword to add or remove all ciphers.At least one cipher suite must be present, otherwise the SSL connection fails to initialize. So, if you use -ALL, you must subsequently add the desired ciphers to the list.This example specifies cipher suites in the ssl_ciphers connection factory parameter in a Java client:-ALL:+RC4-MD5:+DES-CBC-SHA:<DES-CBC3-SHA-ALL:+SSL_RSA_WITH_RC4_128_MD5:+SSL_RSA_WITH_DES_CBC_SHA:<SSL_RSA_WITH_3DES_EDE_CBC_SHAFor any cipher suite list that is not specified in a connection factory of a Java client, use the OpenSSL syntax. In particular, C clients and the ssl_server_ciphers configuration parameter require OpenSSL syntax.In OpenSSL syntax, specifying a cipher suite name adds that cipher suite to the list. Each cipher suite name can be preceded by a qualifier. Cipher suite names are case-sensitive. Table 68 describes the qualifiers available using OpenSSL syntax.
Table 68 OpenSSL Qualifiers for Cipher Suites When entered as the first item in the list, this option causes EMS to begin with an empty list, and add the ciphers that follow the slash.If the / does not prefix the cipher list, then EMS prefixes the cipher list with the OpenSSL cipher string DEFAULT.This modifier can only be used at the beginning of the list. If the / appears elsewhere, the syntax of the cipher suite list will be incorrect and cause an error. This qualifier is used to move an existing cipher. It can not be used to add a new cipher to the list. Remove the cipher from the list of ciphers. When this option is used, the cipher can be added later on in the list of ciphers. Permanently disable the cipher within the list of ciphers. Use this option if you wish to remove a cipher and you do not want later items in the list to add the cipher to the list. This qualifier takes precedence over all other qualifiers. All ciphers from the list (except null ciphers). You can use this keyword to add or remove all ciphers.At least one cipher suite must be present or the SSL connection fails to initialize. So, after using -ALL, you should add at least one cipher to the list. This example specifies cipher suites in the ssl_server_ciphers configuration parameter.This example illustrates disables RC4-MD5, then adds all other ciphers:Default Cipher ListThe EMS server and C client library hard-code a default cipher list, which is equivalent to ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH.In general, the EMS server and C client library support all cipher suites that OpenSSL supports, except IDEA, RC-5 and CAST. For a complete list, see current OpenSSL documentation.Java clients support only the cipher suites listed in Table 69. For convenience, the table lists both the standard name and the OpenSSL name for each cipher suite.
●
●
Copyright © TIBCO Software Inc. All Rights Reserved.