1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- This document was generated using DocBuilder 3.3.2 -->
<HTML>
<HEAD>
<TITLE>ssl</TITLE>
<SCRIPT type="text/javascript" src="../../../../doc/erlresolvelinks.js">
</SCRIPT>
<STYLE TYPE="text/css">
<!--
.REFBODY { margin-left: 13mm }
.REFTYPES { margin-left: 8mm }
-->
</STYLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#FF00FF"
ALINK="#FF0000">
<!-- refpage -->
<CENTER>
<A HREF="http://www.erlang.se">
<IMG BORDER=0 ALT="[Ericsson AB]" SRC="min_head.gif">
</A>
<H1>ssl</H1>
</CENTER>
<H3>APPLICATION</H3>
<DIV CLASS=REFBODY>
ssl
</DIV>
<H3>APPLICATION SUMMARY</H3>
<DIV CLASS=REFBODY>
The SSL Application
</DIV>
<H3>DESCRIPTION</H3>
<DIV CLASS=REFBODY>
<P>The Secure Socket Layer (SSL) application provides secure
socket communication over TCP/IP.
</DIV>
<H3>Warning</H3>
<DIV CLASS=REFBODY>
<P>In previous versions of Erlang/OTP SSL it was advised, as a
work-around, to set the operating system environment variable
<CODE>SSL_CERT_FILE</CODE> to point at a file containing CA
certificates. That variable is no longer needed, and is not
recognised by Erlang/OTP SSL any more.
<P>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.
</DIV>
<H3>Environment</H3>
<DIV CLASS=REFBODY>
<P>The following application environment configuration parameters
are defined for the SSL application. Refer to application(3) for
more information about configuration parameters.
<P>
<DL>
<DT>
<CODE>ephemeral_rsa = true | false <optional></CODE>
</DT>
<DD>
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 <CODE>false</CODE>.
<BR>
</DD>
<DT>
<CODE>debug = true | false <optional></CODE>
</DT>
<DD>
Causes debug information to be written to standard
output. Default is <CODE>false</CODE>.
<BR>
</DD>
<DT>
<CODE>debugdir = path() | false <optional></CODE>
</DT>
<DD>
Causes debug information output controlled by <CODE>debug</CODE>
and <CODE>msgdebug</CODE> to be printed to a file named
<CODE>ssl_esock.<pid>.log</CODE> in the directory specified by
<CODE>debugdir</CODE>, where <CODE><pid></CODE> is the operating system
specific textual representation of the process indentifier
of the external port program of the SSL application. Default
is <CODE>false</CODE>, i.e. no log file is produced.
<BR>
</DD>
<DT>
<CODE>msgdebug = true | false <optional></CODE>
</DT>
<DD>
Sets <CODE>debug = true</CODE> and causes also the contents
of low level messages to be printed to standard output.
Default is <CODE>false</CODE>.
<BR>
</DD>
<DT>
<CODE>port_program = string() | false <optional></CODE>
</DT>
<DD>
Name of port program. The default is <CODE>ssl_esock</CODE>.
<BR>
</DD>
<DT>
<CODE>proxylsport = integer() | false <optional></CODE>
</DT>
<DD>
Define the port number of the listen port of the
SSL port program. Almost never is this option needed.
<BR>
</DD>
<DT>
<CODE>proxylsbacklog = integer() | false <optional></CODE>
</DT>
<DD>
Set the listen queue size of the listen port of the
SSL port program. The default is 5.
<BR>
</DD>
</DL>
</DIV>
<H3>OpenSSL libraries</H3>
<DIV CLASS=REFBODY>
<P>The current implementation of the Erlang SSL application is
based on the <STRONG>OpenSSL</STRONG> package version 0.9.7 or higher.
There are source and binary releases on the web.
<P>Source releases of OpenSSL can be downloaded from the <A TARGET="_top" HREF="http://www.openssl.org">OpenSSL</A> project home page,
or mirror sites listed there.
<P>The same URL also contains links to some compiled binaries and
libraries of OpenSSL (see the <CODE>Related/Binaries</CODE> menu) of
which the <A TARGET="_top" HREF="http://www.shininglightpro.com/search.php?searchname=Win32+OpenSSL"> Shining Light Productions Win32 and OpenSSL</A> pages are of
interest for the Win32 user.
<P>For some Unix flavours there are binary packages available
on the net.
<P>If you cannot find a suitable binary OpenSSL package, you
have to fetch an OpenSSL source release and compile it.
<P>You then have to compile and install the libraries
<CODE>libcrypto.so</CODE> and <CODE>libssl.so</CODE> (Unix), or the
libraries <CODE>libeay32.dll</CODE> and <CODE>ssleay32.dll</CODE> (Win32).
<P>For Unix The <CODE>ssl_esock</CODE> port program is delivered linked
to OpenSSL libraries in <CODE>/usr/local/lib</CODE>, but the default
dynamic linking will also accept libraries in <CODE>/lib</CODE> and
<CODE>/usr/lib</CODE>.
<P> If that is not applicable to the particular Unix operating
system used, the example <CODE>Makefile</CODE> in the SSL
<CODE>priv/obj</CODE> directory, should be used as a guide to
relinking the final version of the port program.
<P> For <CODE>Win32</CODE> it is only required that the libraries can be
found from the <CODE>PATH</CODE> environment variable, or that they
reside in the appropriate <CODE>SYSTEM32</CODE> directory; hence no
particular relinking is need. Hence no example <CODE>Makefile</CODE>
for Win32 is provided.
</DIV>
<H3>Restrictions</H3>
<DIV CLASS=REFBODY>
<P>Users must be aware of export restrictions and patent rights
concerning cryptographic software.
</DIV>
<H3>SEE ALSO</H3>
<DIV CLASS=REFBODY>
<P>application(3)
</DIV>
<H3>AUTHORS</H3>
<DIV CLASS=REFBODY>
Peter Hgfeldt - support@erlang.ericsson.se<BR>
</DIV>
<CENTER>
<HR>
<SMALL>ssl 3.0.4<BR>
Copyright © 1991-2004
<A HREF="http://www.erlang.se">Ericsson AB</A><BR>
</SMALL>
</CENTER>
</BODY>
</HTML>
|