Information
The SSL_SVCENAME database manager configuration parameter controls which port Db2 will listen on for TLS encrypted connections. SSL_SVCENAME can consist of one of the following:
A port number
Service name defined in /etc/services (UNIX/Linux) or %WINDIR%\system32\drivers\etc\services (windows)
Rationale:
Db2 must have a port number or service name defined to enable TLS communication. Db2 does not choose a default port number if SSL_SVCENAME is unset.
Solution
Perform the following to set SSL_SVCENAME:
Attach to the Db2 instance.
db2 => attach to <db2instance>
Run the following command, where <service> is a port number or named service.
db2 => update dbm cfg using SSL_SVCENAME <service>
Db2 must be recycled (db2stop/db2start) for changes to SSL_SVCENAME to take effect.