Configuring Transport Layer Security for Eclipse Amlen resource adapter by using customized security configuration options
Configure a secure connection between Eclipse Amlen and the Eclipse Amlen RA running on WebSphere® Application Server.
On Eclipse Amlen, ensure that you configure your security profile and policies on the endpoint that you are using to accept WebSphere Application Server connections. The security profile defines the Transport Layer Security (TLS) that is applied to an endpoint. Ensure that you know which port or ports on the Eclipse Amlen can be accessed from the WebSphere Application Server.
If you want to use a non-default security configuration, ensure that this security configuration is created and configured. For more information about creating a security configuration for WebSphere Application Server, see Creating a Secure Sockets Layer configuration.
If you want to use a non-default secure socket factory, you must ensure that the class that you use is accessible to the Eclipse Amlen RA. Depending upon the class location, you might need to add the class to the class path specified under .
tcps
for protocol,
the two following optional configuration settings that you can use
to customize the security configuration for the Eclipse Amlen RA.
You can use either or both of these security configuration settings.
If protocol is not set to tcps
,
then these optional settings are ignored. - securityConfiguration
- This value is required if you are using a non-default security configuration.
- securitySocketFactory
- This value is required if you are using a non-default security socket factory class.
For inbound connections, set the value of protocol in the activation specification. The activation specification is associated with one or more message-driven beans (MDBs) and provides the configuration necessary for these MDBs to receive messages.
- Click > activation_specification_name.
- Click the J2C activation specification custom properties link.
- Set the protocol configuration value to
tcps
. - Set the securitySocketFactory configuration value. Set the securitySocketFactory configuration value only if you want to use a security socket factory other than the application server default factory.
- Set the securityConfiguration configuration
value. Set the securityConfiguration configuration
value only if you want to use a security configuration other than
the application server default configuration. Note: When set, the securityConfiguration value is passed as a string argument to the security socket factory constructor. If the factory does not provide a constructor that takes a single string argument, then connection creation fails.
For outbound connections, set the value of protocol in the appropriate connection factory configuration. The WebSphere Application Server uses connection factories to create connections to Eclipse Amlen.
- Click > connection_factory_name.
- Click the Custom properties link.
- Set the protocol configuration value to
tcps
. - Set the securitySocketFactory configuration value. Set the securitySocketFactory configuration value only if you want to use a security socket factory other than the application server default factory.
- Set the securityConfiguration configuration
value. Set the securityConfiguration configuration
value only if you want to use a security configuration other than
the application server default configuration. Note: When set, the securityConfiguration value is passed as a string argument to the security socket factory constructor. If the factory does not provide a constructor that takes a single string argument, then connection creation fails.