SSL (JANUS DEFINE parameter): Difference between revisions
m (1 revision) |
m (1 revision) |
||
Line 39: | Line 39: | ||
''[[Janus Web Server]]'' $functions useful for SSL applications include: [[$Web_Cert_Info]], [[$Web_Cert_Levels]], [[$Web_Cipher]], [[$Web_Protocol]], [[$Web_Secure]]. | ''[[Janus Web Server]]'' $functions useful for SSL applications include: [[$Web_Cert_Info]], [[$Web_Cert_Levels]], [[$Web_Cipher]], [[$Web_Protocol]], [[$Web_Secure]]. | ||
The <var>SSL</var> parameter is valid for SRVSOCK, CLSOCK (but not DEBUGGERCLIENT), <var>[[JANUS DEFINE#type|WEBSERV]]</var>, or TNSERV port types. | The <var>SSL</var> parameter is valid for <var>[[JANUS DEFINE#type|SRVSOCK]]</var>, CLSOCK (but not DEBUGGERCLIENT), <var>[[JANUS DEFINE#type|WEBSERV]]</var>, or TNSERV port types. | ||
As of <var class="product">Sirius Mods</var> 8.0, <var>SSL</var> is also available for FTPSERVER ports. Currently, only explicit invocation of SSL is suported for FTPSERVER ports, as described at [http://en.wikipedia.org/wiki/FTPS the Wikipedia FTPS entry]. | As of <var class="product">Sirius Mods</var> 8.0, <var>SSL</var> is also available for FTPSERVER ports. Currently, only explicit invocation of SSL is suported for FTPSERVER ports, as described at [http://en.wikipedia.org/wiki/FTPS the Wikipedia FTPS entry]. | ||
Revision as of 00:07, 29 February 2012
<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 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 suported for FTPSERVER ports, as described at the Wikipedia FTPS entry.