server_certificate

Specifies the certificate to be used by the TLS server.

server_certificate | srv_cert=ServerCertificateFile

Arguments

ServerCertificateFile—relative or full path to the server certificate 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_certificateis specified, server_key must also be specified. Otherwise, an error will be returned.

If server_certificate is not specified, it defaults to usys:server.crt.

If the server certificate is self-signed, the ca_certificate specified for the TLS clients must be the same as the server_certificate.

Using server_certificate

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

Related Topics