shared_key

Specifies the pre-shared key used for authentication of TLS communication channels.

shared_key | sh_key=PreSharedKey

Values

PreSharedKey—any word or phrase that does not have leading or trailing whitespace and does not include a comma.

Use

Set this option with the same key in all assignment files of the Uniface Router, its Uniface Servers, and all client applications. Otherwise, the connection will fail.

It can be set in a TLS connection profile in [NET_SETTINGS] or with the USYS$TLS_PARAMS setting.

This setting is only useful when pre-shared key authentication mode is used, that is, when both verify_client and verify_server are not specified, or set to no.

Description

If shared_key is specified, the only other option that may be set is cipher_list, and the same key must be specified in the assignment files of the Uniface Router, its Uniface Servers, and all client applications. Otherwise, the connection will fail.

If no other options are set, shared_key is mandatory.

Using shared_key

[DRIVER_SETTINGS]
USYS$TLS_PARAMS shared_key=My #A$z*M! SecretKey

Note: You can use the Pathscrambler utility to encrypt keys and passwords in your assignment files. For more information, see Encrypting Paths and Other Sensitive Data Using PathScrambler.

Related Topics