hvrsslgen - Generate a private key and public certificate pair.
hvrsslgen [-options] basename subj
Command hvrsslgen generates a private key and public key pair required for SSL Connection. These key files together are required for establishing a secure encrypted connection between HVR hub and remote HVR locations. Both files (private key and public key) are needed on the remote machine, however, only the public key file must be copied to the hub machine.
By default, the generated key's length is 2048 bits, and the private key is encrypted using aes-256-cbc algorithm and the SSL certificate is signed using sha256 hash algorithm. This can be customized by using the options available for hvrsslgen.
Command argument basename is used for naming the key files. The private key file is named basename.priv_key and the corresponding public key file is named basename.pub_cert.
The second argument subj is written as plain text into the subject field of the X509 public certificate file and serves for reference purposes only. If argument subj contains two or more words with space between them, then it must be enclosed in double quotes. For example, "Certitficate for Cloud".
This section describes the options available for command hvrsslgen.
Generate an asymmetric (RSA) key pair with length bits.
The default is 2048 bits.
Generate files in directory dir instead of current directory.
Encrypt the private key using an internal password with encryption algorithm enc_alg.
Valid values for enc_alg are:
Sign the SSL certificate using hash algorithm hash_alg. Valid values for hash_alg are:
Run the following command to generate the private key and public certificate key pair:
The output will be as follows: