About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
When using the Connect:Direct Application Interface for Java 1.1.00 iFix026 and later, does the AIJ support TLS 1.2 and is there anyway to specify a different cipher suite other than TLS_RSA_WITH_AES_128_CBC_SHA?
Symptom
How to specify these parameters to use in C:D AIJ
Cause
Clarification of product usage.
Environment
Connect:Direct Application Interface for Java.
Diagnosing The Problem
Using the correct syntax for the parameter values.
Resolving The Problem
There is not a method in the C:D AIJ classes for setting the cipher suite at this time.
nodeParms.setProtocol("TLS12"); /*[ The " . " needs to be removed between '1.2' ]*/
To set the Security Protocol, use the following.
NodeParms np = new NodeParms();
nodeParms.setProtocol("TLS12"); /*[ The " . " needs to be removed between '1.2' ]*/
np.setNodeName("127.0.0.1;1363");
np.setUserid(userId);
np.setPassword(password.toCharArray());
np.setProtocol("TLS12")
np.setAppName("Client application")
np.setLocale(Locale.getDefault());
np.setPortRange("4000-5000,5050,5060,6000-7000");
Node cdNode = new Node(np);
Other valid values include:
TLS
TLS11
TCPIP
SSL
PSTCPIP
PSSSL
PSTLS
Case can be ignored.
[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3J7U","label":"IBM Sterling Connect:Direct Application Interface for Java"},"ARM Category":[{"code":"a8m0z000000cwUfAAI","label":"CDJAI"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.1.0"}]
Was this topic helpful?
Document Information
More support for:
IBM Sterling Connect:Direct Application Interface for Java
Component:
CDJAI
Software version:
1.1.0
Document number:
567569
Modified date:
30 September 2020
UID
swg22014242