Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Create a Secure Sockets Layer configuration

 

Secure Sockets Layer (SSL) configurations contain the attributes that you need to control the behavior of client and server SSL endpoints. You create SSL configurations with unique names within specific management scopes on the inbound and outbound tree in the configuration topology. This task shows you how to define SSL configurations, including quality of protection and trust and key manager settings.

You must decide at which scope you need to define an SSL configuration, for instance, the cell, node group, node, server, cluster, or endpoint scope, from the least specific to the most specific scope. When you define an SSL configuration at the node scope, for example, only those processes within that node can load the SSL configuration; however, any processes at the endpoint in the cell can use an SSL configuration at the cell scope, which is higher in the topology.

You must also decide which scope to associate with the new SSL configuration, according to the processes that the configuration affects. For example, an SSL configuration for a hardware cryptographic device might require a keystore that is available only on a specific node, or you might need an SSL configuration for a connection to a particular SSL host and port. For more information, see Dynamic outbound selection of Secure Sockets Layer configurations.

 

Overview

Complete the following steps in the administrative console:

 

Procedure

  1. Click Security > SSL certificate and key management > Manage endpoint security configurations.

  2. Select an SSL configuration link on either the Inbound or Outbound tree, depending on the process you are configuring.

    The cell scope must be associated with an SSL configuration because it is at the top of the topology and represents the default SSL configuration for the inbound or outbound connection.

  3. Click SSL configurations under Related Items. You can view and select any of the SSL configurations that are configured at this scope. You can also view and select these configuration at every scope that is lower on the topology.

  4. Click New to display the SSL configuration panel. You cannot select links under Additional Properties until you type a configuration name and click Apply.

  5. Type an SSL configuration name. This field is required. The configuration name is the SSL configuration alias. Make the alias name unique within the list of SSL configuration aliases that are already created at the selected scope. The new SSL configuration uses this alias for other configuration tasks.

  6. Select a truststore name from the drop-down list. A truststore name refers to a specific truststore that holds signer certificates that validate the trust of certificates sent by remote connections during an SSL handshake. If there is no truststore in the list, see Creating a keystore configuration to create a new truststore, which is a keystore whose role is to establish trust during the connection.

  7. Select a keystore name from the drop-down list. A keystore contains the personal certificates that represent a signer identity and the private key that WebSphere Application Server uses to encrypt and sign data.

  8. Choose a default server certificate alias for inbound connections. Select the default only when you have not specified an SSL configuration alias elsewhere and have not selected a certificate alias. A centrally managed SSL configuration tree can override the default alias. For more information, see Central management of Secure Sockets Layer configurations.

  9. Choose a default client certificate alias for outbound connections. Select the default only when the server SSL configuration specifies an SSL client authentication.

  10. Review the identified management scope for the SSL configuration. Make the management scope in this field identical to the link you selected in Step 2. If you want to change the scope, click a different link in the topology tree and continue at Step 3.

  11. Click Apply if you intend to configure Additional Properties. If not, go to Step 24.

  12. Click Quality of protection (QoP) settings under Additional Properties. QoP settings define the strength of the SSL encryption, the integrity of the signer, and the authenticity of the certificate.

  13. Select a client authentication setting to establish an SSL configuration for inbound connections and for clients to send their certificates, if appropriate.

    The signer certificate that represents the client must be in the truststore that you select for the SSL configuration. By default, servers within the same cell trust each other because they use the common truststore, trust.p12, that is located in the cell directory of the configuration repository. However, if you use keystores and truststores that you create, perform a signer exchange before you select either Supported or Required.

  14. Select a protocol for the SSL handshake.

    Do not use the SSLv2 protocol for the SSL server connection. Use it only when necessary on the client side.

  15. Select one of the following options:

  16. Select from among the following cipher suite groups:

  17. Click Update selected ciphers to view a list of the available ciphers for each cipher strength.

  18. Click OK to return to the new SSL configuration panel.

  19. Click Trust and key managers under Additional Properties.

  20. Select a default trust manager for the primary SSL handshake trust decision.

  21. Define a custom trust manager, if appropriate. You can define a custom trust manager that runs with the default trust manager you select. The custom trust manager must implement the JSSE javax.net.ssl.X509TrustManager interface and, optionally, the com.ibm.wsspi.ssl.TrustManagerExtendedInfo interface to obtain product-specific information.

    1. Click Security > SSL certificate and key management > Manage endpoint security configurations > SSL_configuration > Trust and key managers > Trust managers > New.

    2. Type a unique trust manager name.

    3. Select the Custom option.

    4. Type a class name.

    5. Click OK. When you return to the Trust and key managers panel, the new custom trust manager displays in the Additional ordered trust managers field. Use the left and right list boxes to add and remove custom trust managers.

  22. Select a key manager for the SSL configuration. By default, IbmX509 is the only key manager unless you create a custom key manager.

    If you choose to implement your own key manager, you can affect the alias selection behavior because the key manager is responsible for selecting the certificate alias from the keystore. The custom key manager might not interpret the SSL configuration as the WebSphere Application Server key manager IbmX509 does. To define a custom key manager, click Security > Secure communications > SSL configurations > SSL_configuration > Trust and key managers > Key managers > New.

  23. Click OK to save the trust and key manager settings and return to the new SSL configuration panel.

  24. Click Save to save the new SSL configuration.

 

Results

You can override the default trust manager when you configure at least one custom trust manager and set the com.ibm.ssl.skipDefaultTrustManagerWhenCustomDefined property to true. Click Custom Property on the SSL configuration panel. However, if you change the default, you leave all the trust decisions to the custom trust manager, which is not recommended for production environments. In test environments, use a dummy trust manager to avoid certificate validation. Remember that these environment are not secure.

 

What to do next

In this release of WebSphere Application Server, you can associate SSL configurations with protocols using one of the following methods:




}
SSL certificate and key management

SSL configurations for selected scopes

SSL configurations collection

SSL configuration settings

Creating a custom trust manager configuration

Creating a custom key manager

Associating a Secure Sockets Layer configuration dynamically with an outbound protocol and remote secure endpoint

Quality of protection (QoP) settings

ssl.client.props client configuration file

 

Related tasks


Automating SSL configurations using scripting

 

Related Reference


SSLConfigCommands command group for the AdminTask object