Troubleshooting
Problem
After enabling SSL for non-Java application the connection fails with GSKit error 408
408 - GSK_ERROR_BAD_KEYFILE_PASSWORD
The specified key file password is incorrect. The key file could not be used. The key file may also be corrupt.
The specified key file password is incorrect. The key file could not be used. The key file may also be corrupt.
Symptom
After enabling SSL for non-Java application the connection fails with the following on client's db2diag.log.
The error is originating from the application prcess rts32_t, your application process name may vary.
The error is originating from the application prcess rts32_t, your application process name may vary.
If DB2 was unable to connect "PROC: db2sysc" would appear instead of the application process name.
2020-01-01-00.02.11.367653-240 I648334G406 LEVEL: Error
PID : 5235 TID : 4147944304 PROC : rts32_t
INSTANCE: db2inst1 NODE : 000
HOSTNAME: test
FUNCTION: DB2 UDB, common communication, sqlccMapSSLErrorToDB2Error, probe:530
MESSAGE : DIA3604E The SSL function "gsk_environment_init" failed with the
return code "408" in "sqlccLoadSSLLibrary".
PID : 5235 TID : 4147944304 PROC : rts32_t
INSTANCE: db2inst1 NODE : 000
HOSTNAME: test
FUNCTION: DB2 UDB, common communication, sqlccMapSSLErrorToDB2Error, probe:530
MESSAGE : DIA3604E The SSL function "gsk_environment_init" failed with the
return code "408" in "sqlccLoadSSLLibrary".
2020-01-01-00.02.11.368728-240 I648741G327 LEVEL: Error
PID : 5235 TID : 4147944304 PROC : rts32_t
INSTANCE: db2inst1 NODE : 000
HOSTNAME: test
FUNCTION: DB2 UDB, common communication, sqlccLoadSSLLibrary, probe:998
MESSAGE : DIA3603E SSL was not setup. Return code = "91".
PID : 5235 TID : 4147944304 PROC : rts32_t
INSTANCE: db2inst1 NODE : 000
HOSTNAME: test
FUNCTION: DB2 UDB, common communication, sqlccLoadSSLLibrary, probe:998
MESSAGE : DIA3603E SSL was not setup. Return code = "91".
Document Location
Worldwide
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[],"Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
01 May 2025
UID
ibm16149169