SSL (JANUS DEFINE parameter)
Sets encryption on
SSL is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.
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 Janus 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 Rocket 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 pages.
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 FTPSERVER sockets: SSLOPT
- For any of the above types of sockets: SSLCACHE, SSLMAXAGE, SSLMAXCERTL, SSLUNENC
Other JANUS commands useful for SSL ports include:
- For ports that authenticate incoming certificates: JANUS ADDCA, JANUS DELCA, JANUS DISPLAYCA, JANUS STATCA.
- For monitoring a port's SSL activity: JANUS SSLSTAT
Janus Web Server $functions useful for SSL applications 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. Currently, only explicit invocation of SSL is supported for FTPSERVER ports, as described at the Wikipedia FTPS entry.