The Secure Socket Layer (SSL) application provides secure socket communication over TCP/IP. Note that this documentation is mainly valid for the old ssl implementation and will be replaced in a future release.
In previous versions of Erlang/OTP SSL it was advised, as a
work-around, to set the operating system environment variable
However, the OpenSSL package does interpret that environment variable. Hence a setting of that variable might have unpredictable effects on the Erlang/OTP SSL application. It is therefore adviced to not used that environment variable at all.
The following application environment configuration parameters are defined for the SSL application. Refer to application(3) for more information about configuration parameters.
Note that the environment parameters can be set on the command line, for instance,
Enables all SSL servers (those that listen and accept)
to use ephemeral RSA key generation when a clients connect with
weak handshake cipher specifications, that need equally weak
ciphers from the server (i.e. obsolete restrictions on export
ciphers). Default is
Causes debug information to be written to standard
output. Default is
Causes debug information output controlled by
Sets
Name of port program. The default is
Name of protocols to use. If this option is not set,
all protocols are assumed, i.e. the default value is
Define the port number of the listen port of the SSL port program. Almost never is this option needed.
Set the listen queue size of the listen port of the SSL port program. The default is 128.
The current implementation of the Erlang SSL application is based on the OpenSSL package version 0.9.7 or higher. There are source and binary releases on the web.
Source releases of OpenSSL can be downloaded from the
The same URL also contains links to some compiled binaries and
libraries of OpenSSL (see the
For some Unix flavours there are binary packages available on the net.
If you cannot find a suitable binary OpenSSL package, you have to fetch an OpenSSL source release and compile it.
You then have to compile and install the libraries
For Unix The
If that is not applicable to the particular Unix operating
system used, the example
For
Users must be aware of export restrictions and patent rights concerning cryptographic software.
application(3)