SSLUNENC (JANUS DEFINE parameter)
<section begin="desc" />(deprecated parameter) Use unencrypted private key.<section end="desc" />
SSLUNENC is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.
This parameter indicates that an unencrypted private key is being used in the certificate specified by the SSL parameter on this Janus server port definition.
Note: As of Sirius Mods Version 6.2, this parameter is obsolete — as of this version, Janus Network Security automatically determines whether or not the private key is encrypted, and if not, prompts for a password. A corrupted private key procedure could lead Janus Network Security to believe that the private key must be encrypted, and so result in a password prompt.
Regardless of the Sirius Mods version, the use of unencrypted private keys is discouraged.
Before Sirius Mods Version 6.2, SSLUNENC must have been specified on a port definition if an unencrypted private key was used. Otherwise, the JANUS START command for an SSL-secured port would prompt for a password (technically, a seed for the encryption algorithm) to use to decrypt the private key. Any data, or even a null value, entered for the password will incorrectly be used in an attempt to decrypt the private key (rendering the key unusable), and the START will fail.
Similarly, if an encrypted private key is used in the certificate specified on the SSL parameter, the SSLUNENC parameter must not be specified. Specifying SSLUNENC will prevent password prompting for that key, thus bypassing decryption of the private key (rendering it unusable), and causing the START to fail.
The certificate and private key generation process is described further in the Janus Network Security Reference Manual.
SSLUNENC is valid for SRVSOCK, WEBSERV, OPENSERV and SDS port types.