uCosminexus Application Server, HTTP Server User Guide

[Contents][Glossary][Index][Back][Next]

5.2.1 Creating a private key for the Web server (keygen command)

This subsection describes how to use the keygen command to create a private key for the Web server. The created Web server private key file is specified in the SSLCertificateKeyFile directive.

Organization of this subsection
(1) Format
(2) Parameters
(3) Usage example

(1) Format

 
keygen -rand file-name[:file-name...] [-des|-des3]-out key-file [-bits {512|1024|2048|4096}]
 

(2) Parameters

(3) Usage example

To create the httpsdkey.pem Web server private key:

 
keygen -rand file1:file2:file3:file4:file5 -out httpsdkey.pem -bits 1024
 

file1, file2, file3, file4 and file5: Arbitrary files