Trying to connect DB2 database(mainframe) using JDBC connection(for GTSUBSET) and getting error ‘Security mechanism not supported’ we have placed db2jcc jar file under GTDatamaker/lib folder and still facing same issue. Can you check with any expert if they can suggest anything on this.
Error Detail:
[jcc][1071][10615][4.19.26] Caught java.security.InvalidAlgorithmParameterException while initializing EncryptionManager. See attached Throwable for details. ERRORCODE=-4223, SQLSTATE=null
All supported TDM releases.
The Answer provided by IBM:
"To use AES, install the "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy" files from Oracle.
For SERVER_ENCRYPT authentication, configure both DB2 and the JCC driver for AES encryption instead of the default DES.
Set the ALTERNATE_AUTH_ENC database manager configuration parameter to a value of AES_CMP or AES_ONLY
Set thee JCC datasource properties securityMechanism and encryptiongAlgortihm.
securityMechanism=9
encryptionAlgorithm=2"