2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY openssl-download-http "http://www.openssl.org/source/openssl-&openssl-version;.tar.gz">
|
|
|
|
<!ENTITY openssl-download-ftp "ftp://ftp.openssl.org/source/openssl-&openssl-version;.tar.gz">
|
2005-04-04 06:53:53 +08:00
|
|
|
<!ENTITY openssl-md5sum "b2d37d7eb8a5a5040d834105d5ae1a50">
|
2004-11-01 03:39:40 +08:00
|
|
|
<!ENTITY openssl-size "3.0 MB">
|
2005-04-04 06:53:53 +08:00
|
|
|
<!ENTITY openssl-buildsize "35 MB">
|
|
|
|
<!ENTITY openssl-time "1.00 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2005-01-26 00:02:00 +08:00
|
|
|
<sect1 id="openssl" xreflabel="OpenSSL-&openssl-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 09:51:44 +08:00
|
|
|
<?dbhtml filename="openssl.html"?>
|
2003-09-27 01:41:06 +08:00
|
|
|
<title>OpenSSL-&openssl-version;</title>
|
2005-01-26 00:02:00 +08:00
|
|
|
<indexterm zone="openssl">
|
|
|
|
<primary sortas="a-OpenSSL">OpenSSL</primary></indexterm>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect2>
|
2004-07-22 06:59:07 +08:00
|
|
|
<title>Introduction to <application>Open<acronym>SSL</acronym></application>
|
|
|
|
</title>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2005-01-13 03:40:39 +08:00
|
|
|
<para>The <application>Open<acronym>SSL</acronym></application> package
|
|
|
|
contains management tools and libraries relating to cryptography. These are
|
|
|
|
useful for providing cryptography functions to other packages, notably
|
2004-07-22 06:59:07 +08:00
|
|
|
<application>OpenSSH</application>, email applications and web browsers (for
|
2004-11-01 03:39:40 +08:00
|
|
|
accessing <acronym>HTTPS</acronym> sites).</para>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2005-01-13 03:40:39 +08:00
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&openssl-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&openssl-download-ftp;"/></para></listitem>
|
2005-02-04 22:43:00 +08:00
|
|
|
<listitem><para>Download MD5 sum: &openssl-md5sum;</para></listitem>
|
2004-06-13 06:56:28 +08:00
|
|
|
<listitem><para>Download size: &openssl-size;</para></listitem>
|
2005-01-13 03:40:39 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
|
|
|
&openssl-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&openssl-time;</para></listitem></itemizedlist>
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect3>
|
2004-07-22 06:59:07 +08:00
|
|
|
|
2005-04-04 06:53:53 +08:00
|
|
|
<sect3><title>Additional downloads</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem><para>Required patch: <ulink
|
|
|
|
url="&patch-root;/openssl-&openssl-version;-fix_manpages-1.patch"/></para></listitem>
|
|
|
|
</itemizedlist></sect3>
|
|
|
|
|
2004-07-22 06:59:07 +08:00
|
|
|
<sect3><title><application>Open<acronym>SSL</acronym></application>
|
|
|
|
dependencies</title>
|
|
|
|
<sect4><title>Optional</title>
|
2004-08-04 10:16:33 +08:00
|
|
|
<para><xref linkend="bc"/> (recommended
|
2005-01-13 03:40:39 +08:00
|
|
|
if you run the test suite during the build)</para>
|
|
|
|
</sect4>
|
2004-07-22 06:59:07 +08:00
|
|
|
</sect3>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2004-07-22 06:59:07 +08:00
|
|
|
<title>Installation of <application>Open<acronym>SSL</acronym></application>
|
|
|
|
</title>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2004-07-22 06:59:07 +08:00
|
|
|
<para>Install <application>Open<acronym>SSL</acronym></application> by running
|
|
|
|
the following commands:</para>
|
2004-06-13 06:56:28 +08:00
|
|
|
|
2005-04-04 06:53:53 +08:00
|
|
|
<screen><userinput><command>patch -Np1 -i ../openssl-&openssl-version;-fix_manpages-1.patch &&
|
2004-06-13 06:56:28 +08:00
|
|
|
./config --openssldir=/etc/ssl --prefix=/usr shared &&
|
2005-01-27 09:41:14 +08:00
|
|
|
make MANDIR=/usr/share/man</command></userinput></screen>
|
|
|
|
|
2005-04-04 06:53:53 +08:00
|
|
|
<para>To test the results, issue: <command>make test</command>.</para>
|
|
|
|
|
2005-01-27 09:41:14 +08:00
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>make MANDIR=/usr/share/man install &&
|
2004-11-01 03:39:40 +08:00
|
|
|
cp -r certs /etc/ssl</command></userinput></screen>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<para><option>no-rc5 no-idea</option>: When added to the
|
|
|
|
<command>./config</command> command, this will eliminate the building of those
|
|
|
|
encryption methods. Patent licenses may be needed for you to utilize either of
|
|
|
|
those methods in your projects.</para>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2005-01-13 03:40:39 +08:00
|
|
|
<para><command>make MANDIR=/usr/share/man; make MANDIR=/usr/share/man
|
|
|
|
install</command>: These commands install
|
|
|
|
<application>Open<acronym>SSL</acronym></application> with the man pages in
|
|
|
|
<filename class='directory'>/usr/share/man</filename> instead of
|
|
|
|
<filename class='directory'>/etc/ssl/man</filename>.</para>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2004-07-22 06:59:07 +08:00
|
|
|
<para><command>cp -r certs /etc/ssl</command>: The certificates must be copied
|
|
|
|
manually since the install script skips this step.</para>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Configuring <application>OpenSSL</application></title>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2005-01-13 03:40:39 +08:00
|
|
|
<sect3 id="openssl-config"><title>Config files</title>
|
2004-06-13 06:56:28 +08:00
|
|
|
<para><filename>/etc/ssl/openssl.cnf</filename></para>
|
2005-01-26 00:02:00 +08:00
|
|
|
<indexterm zone="openssl openssl-config">
|
2005-01-13 03:40:39 +08:00
|
|
|
<primary sortas="e-etc-ssl-openssl.cnf">/etc/ssl/openssl.cnf</primary>
|
|
|
|
</indexterm>
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect3>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect3><title>Configuration Information</title>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2004-07-22 06:59:07 +08:00
|
|
|
<para>Most people who just want to use
|
|
|
|
<application>Open<acronym>SSL</acronym></application> for providing functions
|
|
|
|
to other programs such as <application>Open<acronym>SSH</acronym></application>
|
|
|
|
and web browsers won't need to worry about configuring
|
|
|
|
<application>Open<acronym>SSL</acronym></application>. Configuring
|
|
|
|
<application>Open<acronym>SSL</acronym></application> is an advanced topic and
|
2004-06-13 06:56:28 +08:00
|
|
|
so those who do would normally be expected to either know how to do it
|
|
|
|
or to be able to find out how to do it.</para>
|
|
|
|
</sect3>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2005-01-13 03:40:39 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
2005-03-24 15:17:30 +08:00
|
|
|
<seg>c_rehash, openssl and openssl_fips_fingerprint</seg>
|
2005-01-13 03:40:39 +08:00
|
|
|
<seg>libcrypto.[so,a] and libssl.[so,a]</seg>
|
|
|
|
<seg>/etc/ssl and /usr/include/ssl</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
|
|
|
<varlistentry id="c_rehash">
|
|
|
|
<term><command>c_rehash</command></term>
|
|
|
|
<listitem><para>is a <application>Perl</application> script that scans all
|
|
|
|
files in a directory and adds symbolic links to their hash values.</para>
|
2005-01-26 00:02:00 +08:00
|
|
|
<indexterm zone="openssl c_rehash">
|
2005-01-13 03:40:39 +08:00
|
|
|
<primary sortas="b-c_rehash">c_rehash</primary></indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-01-26 00:02:00 +08:00
|
|
|
<varlistentry id="openssl-prog">
|
2005-01-13 03:40:39 +08:00
|
|
|
<term><command>openssl</command></term>
|
|
|
|
<listitem><para>is a command-line tool for using the various cryptography
|
|
|
|
functions of <application>Open<acronym>SSL</acronym></application>'s crypto
|
|
|
|
library from the shell. It can be used for various functions which are
|
2004-06-13 06:56:28 +08:00
|
|
|
documented in <command>man 1 openssl</command>.</para>
|
2005-01-26 00:02:00 +08:00
|
|
|
<indexterm zone="openssl openssl-prog">
|
2005-01-13 03:40:39 +08:00
|
|
|
<primary sortas="b-openssl">openssl</primary></indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libcrypto">
|
2005-02-11 05:24:58 +08:00
|
|
|
<term><filename class='libraryfile'>libcrypto.[so,a]</filename></term>
|
2005-01-13 03:40:39 +08:00
|
|
|
<listitem><para>implements a wide range of cryptographic algorithms used in
|
|
|
|
various Internet standards. The services provided by this library are used by
|
|
|
|
the <application>Open<acronym>SSL</acronym></application> implementations of
|
2004-07-22 06:59:07 +08:00
|
|
|
<acronym>SSL</acronym>, <acronym>TLS</acronym> and <acronym>S/MIME</acronym>,
|
|
|
|
and they have also been used to implement
|
2005-01-13 03:40:39 +08:00
|
|
|
<application>Open<acronym>SSH</acronym></application>,
|
2004-07-22 06:59:07 +08:00
|
|
|
<application>Open<acronym>PGP</acronym></application>, and other cryptographic
|
|
|
|
standards.</para>
|
2005-01-26 00:02:00 +08:00
|
|
|
<indexterm zone="openssl libcrypto">
|
2005-01-13 03:40:39 +08:00
|
|
|
<primary sortas="c-libcrypto">libcrypto.[so,a]</primary></indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libssl">
|
2005-02-11 05:24:58 +08:00
|
|
|
<term><filename class='libraryfile'>libssl.[so,a]</filename></term>
|
2005-01-13 03:40:39 +08:00
|
|
|
<listitem><para>implements the Secure Sockets Layer (<acronym>SSL</acronym>
|
|
|
|
v2/v3) and Transport Layer Security (<acronym>TLS</acronym> v1) protocols. It
|
|
|
|
provides a rich <acronym>API</acronym>, documentation on which can be found by
|
|
|
|
running <command>man 3 ssl</command>.</para>
|
2005-01-26 00:02:00 +08:00
|
|
|
<indexterm zone="openssl libssl">
|
2005-01-13 03:40:39 +08:00
|
|
|
<primary sortas="c-libssl">libssl.[so,a]</primary></indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2005-01-01 22:08:39 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|