8.1.4 Configure the Service Name for TLS (SSL_SVCENAME)

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.

See Also

https://workbench.cisecurity.org/benchmarks/10752

Item Details

Category: PLANNING, SYSTEM AND SERVICES ACQUISITION

References: 800-53|PL-8, 800-53|SA-8, CSCv7|9.2

Plugin: Windows

Control ID: c08bcac264a183765bf332637dfaebbad369b692ce664ae52eee41294ac2fe9e