If this fragment of db2diag.log is from client then it appears that server replied badly:
2024-09-23-07.21.54.070000-420 I1163F565 LEVEL: Error
PID : 11388 TID : 17776 PROC : dotnet.exe
INSTANCE: NODE : 000
HOSTNAME: ArtTonicIntel
EDUID : 17776
FUNCTION: DB2 UDB, common communication, sqlccMapSSLErrorToDB2Error, probe:30
MESSAGE : DIA3604E The SSL function "gsk_secure_soc_init" failed with the
return code "414" in "sqlccSSLSocketSetup".
DATA #1 : String, 18 bytes
GSK_ERROR_BAD_CERT
DATA #2 : String, 55 bytes
Incorrectly formatted certificate received from partner------------------------------
Jan Nelken
------------------------------