SSLOPT (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:


If SSLOPT is not set for an SSL port, SSL is used for all client connections from the port, and specifying the NOSSL parameter on a $SOCK_CONN call is treated as an error.  
If SSLOPT is not set for an SSL port, SSL is used for all client connections from the port, and specifying the NOSSL parameter on a $SOCK_CONN call is treated as an error.  
This parameter (and CLSOCK ports) are only available in Version 6.0 and later of the ''[[Sirius Mods]]''


SSLOPT is valid only for CLSOCK ports.
SSLOPT is valid only for CLSOCK ports.

Revision as of 21:14, 2 November 2011

<section begin="desc" />Specifies optional use of SSL<section end="desc" />

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

Valid only for CLSOCK SSL (Secure Sockets Layer) ports, this parameter specifies that the use of SSL-like encryption is optional for applications using the port. An SSL port is one that includes the SSL parameter in its definition.

If SSLOPT is set for an SSL port, the SSL or NOSSL parameter (or their equivalents) on $SOCK_CONN and the applicable Janus Sockets object method calls determines whether or not the connection will be encrypted. If the connection is encrypted, the SSLPROT setting influences the type of encryption protocol that will be used.

If SSLOPT is set for an SSL port, but no SSL or NOSSL parameter (or their equivalents) is specified on $SOCK_CONN and the applicable Janus Sockets object method calls, the connection is not encrypted by default.

If SSLOPT is not set for an SSL port, SSL is used for all client connections from the port, and specifying the NOSSL parameter on a $SOCK_CONN call is treated as an error.

SSLOPT is valid only for CLSOCK ports.

References

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