Updating the HTTPS Config JSON file

While updating the https_config.json file, different keys and values need to be passed in the JSON file. The following are the keys that can be passed in the JSON file:
Keys Description
key While using the Base64 ASCII format key, pass the name of the file containing the private key in the https_config.json file in the following format:

"key": <file_name>

Default Value is server-key.pem

Note: If the private key is encoded with a password, pass the "passphrase" key in the JSON file.
cert While using a separate file for the certificate, pass the name of the file in the https_config.json file in the following format:

"cert": <file_name>

Default Value is server-cert.pem

ca This key contains the name of a single file that holds all the ca chain certificates. The format is as follows:

"ca": <file_name>

pfx While using an encoded binary format key and certificate, pass the name of the file in the https_config.json file in the following format:

"pfx": <file_name>

Note: If the "pfx" key is used then the "passphrase" key is mandatory. The "key" and "cert" keys cannot be used along with the "pfx" key.
passphrase The "passphrase" key is used when the key or certificate files are encoded with a password.

Default value is empty string ("").