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.
keygen -rand file-name[:file-name...] [-des|-des3]-out key-file [-bits {512|1024|2048|4096}] |
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