Hi Suman,
this is the setup how it works for me:
## Setting up external access to Db2
oc get svc -n db2u | grep engn-svc
## c-db2u-manage-db2u-engn-svc NodePort 172.30.9.255 <none> 50000:30168/TCP,50001:31520/TCP
oc create route passthrough db2-manage-route -n db2u --port ssl-server --service c-db2u-manage-db2u-engn-svc --insecure-policy=None
oc get route db2-manage-route -n db2u -o jsonpath="{.spec.host}{'\n'}"
## db2-manage-route-db2u.apps.[ocp-domain]
oc get secret -n db2u c-db2u-manage-instancepassword -o jsonpath="{.data.password}" | base64 -d ; echo
## [password]
oc get secret -n db2u db2u-ca -o jsonpath="{.data.ca\.crt}" | base64 -d > /tmp/db2-ca.pem
## use file /tmp/db2-ca.pem to generate *.jks
keytool -importcert -keystore certdb2.jks -storepass password123 -file db2-ca.pem -alias cert
--------------------------------------------------
Dbeaver setup - DB2 LUW
Main tab
Host: db2-manage-route-db2u.apps.[ocp-domain]
Port: 443
Database: BLUDB
Username: db2inst1
Password: [password]
Driver Properties tab
sslConnection=True
TrustServerCertificate=True
sslTrustStoreType=jks
sslTrustStoreLocation=[path_to_jks_file\certdb2.jks]
sslTrustStorePassword=password123

------------------------------
Jan Ondrusek
------------------------------
Original Message:
Sent: Wed March 27, 2024 08:15 PM
From: suman kumar
Subject: MAS8 db2wh connection failed from dbeaver
Hi,
Im trying to connect to mas8 manage database from dbeaver however test connection is failing.

in dbeaver connection properties, i have created .jks file from ssl certification from operator>secrets "db2u-certificate" and added .jks file driver properties with ssl options.
sslConnection - true
sslTrustStoreLocation - Location of the jks file created in the previous steps. (mydb2wstore.jks )
sslTrustStorePassword - Password you have enter while creating jks
Thanks in advance.
------------------------------
suman kumar
------------------------------