-certfile command-line option (pr3287)
Gives the name of a file containing a client certificate, which will be provided to the host during TLS negotiation.
- -certfile filename
- Use the client certificate contained in filename.
With OpenSSL, the default file format is PEM; it can be overridden by the -certfiletype command-line option. The private key for the certificate is specified by the -keyfile command-line option. If the -chainfile command-line option is specified, it overrides -certfile.
On MacOS, the file must be in PKCS12 format.