Setting the TLS certificate using the CLI

Content Software for File CLI Reference

Version
4.2.x
Audience
anonymous
Part Number
MK-HCSF001-03

You can set your TLS certificates using the CLI command:

weka security tls set

The command receives an unencrypted private key.

This command is similar to the OpenSSL command that Content Software for File uses to generate the self-signed certificate: .
openssl req -x509 -newkey rsa:1024 -keyout key.pem -out cert.pem -days <days> -nodes