source: general/genlib/openssl.xml@ 59daef29

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 59daef29 was e4cac96f, checked in by Igor Živković <igor@…>, 19 years ago

Updated to OpenSSL-0.9.7e.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2887 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7
8<!ENTITY openssl-download-http "http://www.openssl.org/source/openssl-&openssl-version;.tar.gz">
9<!ENTITY openssl-download-ftp "ftp://ftp.openssl.org/source/openssl-&openssl-version;.tar.gz">
10<!ENTITY openssl-size "3.0 MB">
11<!ENTITY openssl-buildsize "35 MB">
12<!ENTITY openssl-time "1.16 SBU">
13
14]>
15
16<sect1 id="openssl" xreflabel="OpenSSL-&openssl-version;">
17<sect1info>
18<othername>$LastChangedBy$</othername>
19<date>$Date$</date>
20</sect1info>
21<?dbhtml filename="openssl.html"?>
22<title>OpenSSL-&openssl-version;</title>
23
24
25<sect2>
26<title>Introduction to <application>Open<acronym>SSL</acronym></application>
27</title>
28
29<para>The <application>Open<acronym>SSL</acronym></application> package contains
30management tools and libraries relating to cryptography. These are useful for
31providing cryptography functions to other packages, notably
32<application>OpenSSH</application>, email applications and web browsers (for
33accessing <acronym>HTTPS</acronym> sites).</para>
34
35<sect3><title>Package information</title>
36<itemizedlist spacing='compact'>
37<listitem><para>Download (HTTP): <ulink url="&openssl-download-http;"/></para></listitem>
38<listitem><para>Download (FTP): <ulink url="&openssl-download-ftp;"/></para></listitem>
39<listitem><para>Download size: &openssl-size;</para></listitem>
40<listitem><para>Estimated Disk space required: &openssl-buildsize;</para></listitem>
41<listitem><para>Estimated build time: &openssl-time;</para></listitem></itemizedlist>
42</sect3>
43
44<sect3><title><application>Open<acronym>SSL</acronym></application>
45dependencies</title>
46<sect4><title>Optional</title>
47<para><xref linkend="bc"/> (recommended
48if you run the test suite during the build)</para></sect4>
49</sect3>
50
51</sect2>
52
53<sect2>
54<title>Installation of <application>Open<acronym>SSL</acronym></application>
55</title>
56
57<para>Install <application>Open<acronym>SSL</acronym></application> by running
58the following commands:</para>
59
60<screen><userinput><command>sed 's/^passwd/openssl-passwd/' doc/apps/passwd.pod \
61 > doc/apps/openssl-passwd.pod &amp;&amp;
62rm doc/apps/passwd.pod &amp;&amp;
63mv doc/crypto/{,openssl_}threads.pod &amp;&amp;
64./config --openssldir=/etc/ssl --prefix=/usr shared &amp;&amp;
65make MANDIR=/usr/share/man &amp;&amp;
66make MANDIR=/usr/share/man install &amp;&amp;
67cp -r certs /etc/ssl</command></userinput></screen>
68
69</sect2>
70
71<sect2>
72<title>Command explanations</title>
73
74<para><option>no-rc5 no-idea</option>: When added to the
75<command>./config</command> command, this will eliminate the building of those
76encryption methods. Patent licenses may be needed for you to utilize either of
77those methods in your projects.</para>
78
79<para><command>rm doc/apps/passwd.pod</command>: This command prevents
80<application>Open<acronym>SSL</acronym></application> from installing its
81passwd man page over an existing man page with the same name.</para>
82
83<para><command>mv doc/crypto/{,openssl_}threads.pod</command>: This
84commands prevents <application>Open<acronym>SSL</acronym></application> from
85overwriting an existing man page from <application>Perl</application>.</para>
86
87<para><screen><command>make MANDIR=/usr/share/man
88make MANDIR=/usr/share/man install</command></screen> These
89commands install <application>Open<acronym>SSL</acronym></application> with the
90man pages in <filename class='directory'>/usr/share/man</filename> instead of
91the default which is <filename class='directory'>/etc/ssl/man</filename>.</para>
92
93<para><command>cp -r certs /etc/ssl</command>: The certificates must be copied
94manually since the install script skips this step.</para>
95
96</sect2>
97
98<sect2>
99<title>Configuring <application>OpenSSL</application></title>
100
101<sect3><title>Config files</title>
102<para><filename>/etc/ssl/openssl.cnf</filename></para>
103</sect3>
104
105<sect3><title>Configuration Information</title>
106
107<para>Most people who just want to use
108<application>Open<acronym>SSL</acronym></application> for providing functions
109to other programs such as <application>Open<acronym>SSH</acronym></application>
110and web browsers won't need to worry about configuring
111<application>Open<acronym>SSL</acronym></application>. Configuring
112<application>Open<acronym>SSL</acronym></application> is an advanced topic and
113so those who do would normally be expected to either know how to do it
114or to be able to find out how to do it.</para>
115</sect3>
116
117</sect2>
118
119<sect2>
120<title>Contents</title>
121
122<para>The <application>Open<acronym>SSL</acronym></application> package
123contains <command>c_rehash</command>, <command>openssl</command>,
124<filename class='libraryfile'>libcrypto</filename> libraries and
125<filename class='libraryfile'>libssl</filename> libraries.</para>
126
127</sect2>
128
129<sect2><title>Description</title>
130
131<sect3><title>c_rehash</title>
132
133<para><command>c_rehash</command> is a <application>Perl</application> script
134that scans all files in a directory and adds symbolic links to their hash
135values.</para>
136
137</sect3>
138
139<sect3><title>openssl</title>
140
141<para>The <command>openssl</command> program is a command-line tool for using
142the various cryptography functions of
143<application>Open<acronym>SSL</acronym></application>'s
144crypto library from the shell. It can be used for various functions which are
145documented in <command>man 1 openssl</command>.</para>
146
147</sect3>
148
149<sect3><title>libcrypto</title>
150
151<para>The <application>Open<acronym>SSL</acronym></application> crypto library
152implements a wide range of cryptographic algorithms used in various Internet
153standards. The services provided by this library are used by the
154<application>Open<acronym>SSL</acronym></application> implementations of
155<acronym>SSL</acronym>, <acronym>TLS</acronym> and <acronym>S/MIME</acronym>,
156and they have also been used to implement
157<application>Open<acronym>SSH</acronym></application>,
158<application>Open<acronym>PGP</acronym></application>, and other cryptographic
159standards.</para>
160
161</sect3>
162
163<sect3><title>libssl</title>
164
165<para>The <application>Open<acronym>SSL</acronym></application>
166<acronym>SSL</acronym> library implements the Secure Sockets Layer
167(<acronym>SSL</acronym> v2/v3) and Transport Layer Security
168(<acronym>TLS</acronym> v1) protocols. It provides a rich
169<acronym>API</acronym>, documentation on which can be found by running
170<command>man 3 ssl</command>.</para>
171
172</sect3>
173
174</sect2>
175
176</sect1>
Note: See TracBrowser for help on using the repository browser.