SSL (JANUS DEFINE parameter)

From m204wiki
Revision as of 14:14, 24 February 2012 by Alex (talk | contribs)
Jump to navigation Jump to search

<section begin="desc" />Sets encryption on.<section end="desc" />

SSL is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.

The SSL parameter indicates that communications on this port should be encrypted using Janus Network Security SSL (Secure Sockets Layer) or TLS (Transport Layer Security) support. The parameter has the following mutually exclusive options:

SSL procfile procname Identifies the file (typically JANSSL) and procedure that contain the certificate to be presented to clients on server ports and to the server on CLSOCK ports.
SSL * Presents to the client or server the "self-signed certificate" provided for your site by Sirius Software.
SSL 0 Indicates for CLSOCK ports that, although the connection is encrypted, the client is not to provide a certificate to the server if requested. Server certificates are required to establish an encrypted connection, but client certificates are optional and are not used at all by many secured servers.

Certificates and authentication are described further in the Janus Network Security Reference Manual.

Other optional DEFINE command parameters used in conjunction with the SSL parameter include:

  • For server sockets: SSLBSIZE, SSLCIPH, SSLCLCERT/SSLCLCERTR, SSLIBSIZE, SSLOBSIZE, SSLPROT, SSLSES
  • For client and FTP server sockets: SSLOPT
  • For both types of sockets: SSLCACHE, SSLMAXAGE, SSLMAXCERTL, SSLUNENC

Other JANUS commands useful for SSL ports and described in the Janus TCP/IP Base Reference Manual include:

Janus Web Server $functions useful for SSL applications and described in the Janus Web Server Reference Manual include: $Web_Cert_Info, $Web_Cert_Levels, $Web_Cipher, $Web_Protocol, $Web_Secure.

The SSL parameter is valid for SRVSOCK, CLSOCK (but not DEBUGGERCLIENT), WEBSERV, or TNSERV port types. As of Sirius Mods 8.0, SSL is also available for FTPSERVER ports.

References

See: List of Janus commands | List of JANUS DEFINE parameters.