source: archive/openssl.xml@ ccded7e

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ccded7e was 94b42903, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Archive openssl-1.1.x. Moved to LFS.
Update to v4l-utils-1.14.2.
Update to vlc-3.0.0.

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

  • Property mode set to 100644
File size: 8.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY openssl-download-http
8 "https://openssl.org/source/openssl-&openssl-version;.tar.gz">
9 <!ENTITY openssl-download-ftp
10 "ftp://openssl.org/source/openssl-&openssl-version;.tar.gz">
11 <!ENTITY openssl-md5sum "ba5f1b8b835b88cadbce9b35ed9531a6">
12 <!ENTITY openssl-size "5.2 MB">
13 <!ENTITY openssl-buildsize "73 MB (with tests)">
14 <!ENTITY openssl-time "1.5 SBU (with tests)">
15]>
16
17<sect1 id="openssl" xreflabel="OpenSSL-&openssl-version;">
18 <?dbhtml filename="openssl.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>OpenSSL-&openssl-version;</title>
26
27 <indexterm zone="openssl">
28 <primary sortas="a-OpenSSL">OpenSSL</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to OpenSSL</title>
33
34 <para>
35 The <application>OpenSSL</application> package contains management tools
36 and libraries relating to cryptography. These are useful for providing
37 cryptographic functions to other packages, such as
38 <application>OpenSSH</application>, email applications and web browsers
39 (for accessing HTTPS sites).
40 </para>
41
42 &lfs81_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&openssl-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&openssl-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &openssl-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &openssl-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &openssl-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &openssl-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <para condition="html" role="usernotes">
79 User Notes: <ulink url='&blfs-wiki;/OpenSSL'/>
80 </para>
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of OpenSSL</title>
85
86 <para>
87 Install <application>OpenSSL</application> with the following commands:
88 </para>
89
90
91<screen><userinput>./config --prefix=/usr \
92 --openssldir=/etc/ssl \
93 --libdir=lib \
94 shared \
95 zlib-dynamic &amp;&amp;
96make</userinput></screen>
97
98 <para>
99 To test the results, issue: <command>make test</command>.
100 </para>
101
102 <para>
103 If you want to disable installing the static libraries, use this sed:
104 </para>
105
106<screen><userinput>sed -i 's# libcrypto.a##;s# libssl.a##;/INSTALL_LIBS/s#libcrypto.a##' Makefile</userinput></screen>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112<!-- dev note: make INSTALL_PREFIX=<DESTDIR> MANDIR=/usr/share/man MANSUFFIX=ssl install -->
113
114<screen role="root"><userinput>make MANSUFFIX=ssl install &amp;&amp;
115mv -v /usr/share/doc/openssl{,-&openssl-version;} &amp;&amp;
116cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
117
118 </sect2>
119
120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
123 <para>
124 <parameter>shared</parameter>: This parameter forces the creation of
125 shared libraries along with the static libraries.
126 </para>
127
128 <para>
129 <parameter>zlib-dynamic</parameter>: This parameter adds
130 compression/decompression functionality using the
131 <filename class="libraryfile">libz</filename> library.
132 </para>
133
134 <para>
135 <option>no-rc5 no-idea</option>: When added to the
136 <command>./config</command> command, this will eliminate the building
137 of those encryption methods. Patent licenses may be needed for you to
138 utilize either of those methods in your projects.
139 </para>
140
141 <para>
142 <command>make MANSUFFIX=ssl install</command>:
143 This command appends an "ssl" suffix to the manual page names to avoid
144 conflicts with manual pages installed by other packages.
145 </para>
146
147 </sect2>
148
149 <sect2 role="configuration">
150 <title>Configuring OpenSSL</title>
151
152 <sect3 id="openssl-config">
153 <title>Config Files</title>
154
155 <para>
156 <filename>/etc/ssl/openssl.cnf</filename>
157 </para>
158
159 <indexterm zone="openssl openssl-config">
160 <primary sortas="e-etc-ssl-openssl.cnf">/etc/ssl/openssl.cnf</primary>
161 </indexterm>
162
163 </sect3>
164
165 <sect3>
166 <title>Configuration Information</title>
167
168 <para>
169 Most users will want to install Certificate Authority Certificates
170 for validation of downloaded certificates. For example, these
171 certificates can be used by <xref linkend='git'/>,
172 <xref linkend='curl'/> or <xref linkend='wget'/> when accessing secure
173 (https protocol) sites. To do this, follow the instructions from the
174 <xref linkend='cacerts'/> page.
175 </para>
176
177 <para>
178 Users who just want to use <application>OpenSSL</application> for
179 providing functions to other programs such as
180 <application>OpenSSH</application> and web browsers do not need to worry
181 about additional configuration. This is an advanced topic and those
182 who do need it would normally be expected to either know how to properly
183 update <filename>/etc/ssl/openssl.cnf</filename> or be able to find out
184 how to do it.
185 </para>
186
187 </sect3>
188
189 </sect2>
190
191 <sect2 role="content">
192 <title>Contents</title>
193
194 <segmentedlist>
195 <segtitle>Installed Programs</segtitle>
196 <segtitle>Installed Libraries</segtitle>
197 <segtitle>Installed Directories</segtitle>
198
199 <seglistitem>
200 <seg>
201 c_rehash and openssl
202 </seg>
203 <seg>
204 libcrypto.{so,a} and libssl.{so,a}
205 </seg>
206 <seg>
207 /etc/ssl,
208 /usr/include/openssl,
209 /usr/lib/engines and
210 /usr/share/doc/openssl-&openssl-version;
211 </seg>
212 </seglistitem>
213 </segmentedlist>
214
215 <variablelist>
216 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
217 <?dbfo list-presentation="list"?>
218 <?dbhtml list-presentation="table"?>
219
220 <varlistentry id="c_rehash">
221 <term><command>c_rehash</command></term>
222 <listitem>
223 <para>
224 is a <application>Perl</application> script that scans all files in
225 a directory and adds symbolic links to their hash values.
226 </para>
227 <indexterm zone="openssl c_rehash">
228 <primary sortas="b-c_rehash">c_rehash</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="openssl-prog">
234 <term><command>openssl</command></term>
235 <listitem>
236 <para>
237 is a command-line tool for using the various cryptography functions
238 of <application>OpenSSL</application>'s crypto library from the
239 shell. It can be used for various functions which are documented in
240 <command>man 1 openssl</command>.
241 </para>
242 <indexterm zone="openssl openssl-prog">
243 <primary sortas="b-openssl">openssl</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="libcrypto">
249 <term><filename class="libraryfile">libcrypto.{so,a}</filename></term>
250 <listitem>
251 <para>
252 implements a wide range of cryptographic algorithms used in various
253 Internet standards. The services provided by this library are used
254 by the <application>OpenSSL</application> implementations of SSL,
255 TLS and S/MIME, and they have also been used to implement
256 <application>OpenSSH</application>,
257 <application>OpenPGP</application>, and other cryptographic
258 standards.
259 </para>
260 <indexterm zone="openssl libcrypto">
261 <primary sortas="c-libcrypto">libcrypto.{so,a}</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="libssl">
267 <term><filename class="libraryfile">libssl.{so,a}</filename></term>
268 <listitem>
269 <para>
270 implements the Transport Layer Security (TLS v1) protocol.
271 It provides a rich API, documentation
272 on which can be found by running <command>man 3 ssl</command>.
273 </para>
274 <indexterm zone="openssl libssl">
275 <primary sortas="c-libssl">libssl.{so,a}</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 </variablelist>
281
282 </sect2>
283
284</sect1>
Note: See TracBrowser for help on using the repository browser.