certificate command is used to create a new TLS certificate and key pair based on the internal root CA certificate. This can be used to create a self-signed certificate for additional components that communicate with Resoto.
certificate create --common-name <common-name>
|Server name protected by the ssl certificate.||✔️|
|DNS names that the certificate should be valid for.|
|IP addresses that the certificate should be valid for.|
|Number of days the certificate should be valid.||365|
Chunking with size of 2
> certificate create --common-name example.com --dns-names example.com *.example.com --days-valid 365
Received a file example.com.key, which is stored to ./example.com.key.
Received a file example.com.crt, which is stored to ./example.com.crt.