Skip to main content

PRIVATE_KEY - UQUERY configuration option

Description

The PRIVATE_KEY option specifies the location of the PEM-formatted RSA private key that corresponds to the X.509 certificate specified by the CERTIFICATE option.

info

Note

PRIVATE_KEY is required only if a certificate is specified by CERTIFICATE.

tip

z/OS

PRIVATE_KEY is used only when the SSL_IMPLEMENTATION option is set to OPENSSL.

Usage

Method

Syntax

IBM i

UNIX

Windows

z/OS

Command Line, Short Form

n/a

Command Line, Long Form

-private_key ddname or file

Environment Variable

UQRYPRIVATEKEY=file

Configuration File Keyword

private_key ddname or file

STRUQR Parameter

PVTKEYF(file [lib])
[PVTKEYFMBR (member)]

Values

z/OS

ddname is the ddname of the PEM formatted RSA private key that corresponds to the X.509 certificate.

Allocated to the ddname must be either a sequential data set or a member of a PDS that has a variable record format.

UNIX

file is the path of the PEM-formatted RSA private key file that corresponds to the X.509 certificate.

Windows

file is the path of the PEM-formatted RSA private key file that corresponds to the X.509 certificate.

IBM i

file is the qualified name of the PEM-formatted RSA private key file that corresponds to the X.509 certificate.

The file name can be qualified by a library name. If not, the library list *LIBL is searched for the first occurrence of the file name.