-keyfile command-line option (pr3287)

Description
Gives the name of a file contaning the private key for the certificate specified by the -certfile command-line option or the -chainfile command-line option. The default file type is PEM; it can be overridden by the -keyfiletype command-line option. If the private key is encrypted, the password is specified by the -keypasswd command-line option.

This resource only applies on platforms that use OpenSSL to implement TLS.

Syntax

 * -keyfile filename
 * Use the client certificate key contained in filename.

Examples
-keyfile /home/bob/mykey.pem