server_key

Specifies the key that belongs to the certificate used by the TLS server.

server_key | srv_key =ServerKeyFile

Arguments

ServerKeyFile—relative or full path to the server key file.

Use

Set this option in the assignment file of TLS servers (Uniface Routers and exclusive Uniface Servers).

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

Description

If server_key is specified, server_certificate must also be specified. Otherwise, an error will be returned.

If server_key is not specified, it defaults to usys:server.key.

If the key is password protected, the password must be specified with the server_key_password option.

Using server_key

;urouter.asn
[NET_SETTINGS]
CheckServer = verify_server=yes, server_certificate=USYS:srvcert.crt,%\
               server_key=USYS:srvcert.key, server_key_password=mypassword

Related Topics