SSLUNENC (JANUS DEFINE parameter)

From m204wiki
Jump to navigation Jump to search

(deprecated parameter) Use unencrypted private key

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: This parameter is obsoleteJanus 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. The use of unencrypted private keys is discouraged.

Formerly, 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 pages.

SSLUNENC is valid for SRVSOCK, WEBSERV, OPENSERV, and SDS port types.

See also