source: general/genlib/openssl.xml@ 52d29f7

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 52d29f7 was 52d29f7, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

XML Updates to Part III from DJ

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

  • Property mode set to 100644
File size: 8.9 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 "2.7 MB">
11<!ENTITY openssl-buildsize "25 MB">
12<!ENTITY openssl-time "1.16 SBU">
13
14]>
15
16
17<sect1 id="openssl" xreflabel="OpenSSL-&openssl-version;">
18<?dbhtml filename="openssl.html"?>
19<title>OpenSSL-&openssl-version;</title>
20
21
22<sect2>
23<title>Introduction to <application>OpenSSL</application></title>
24
25<para>The <application>OpenSSL</application> package contains management tools
26and libraries relating to cryptography. These are useful for providing
27cryptography functions to other packages, notably <application>OpenSSH
28</application> and web browsers (for accessing secure https sites).</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP): <ulink url="&openssl-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink url="&openssl-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &openssl-size;</para></listitem>
35<listitem><para>Estimated Disk space required: &openssl-buildsize;</para></listitem>
36<listitem><para>Estimated build time: &openssl-time;</para></listitem></itemizedlist>
37</sect3>
38</sect2>
39
40<sect2>
41<title>Installation of <application>OpenSSL</application></title>
42
43<para>Install <application>OpenSSL</application> by running the following commands:</para>
44
45<screen><userinput><command>sed 's/^passwd/openssl-passwd/' doc/apps/passwd.pod \
46 > doc/apps/openssl-passwd.pod &amp;&amp;
47rm doc/apps/passwd.pod &amp;&amp;
48mv doc/crypto/{,openssl_}threads.pod &amp;&amp;
49sed -i -e 's/-m486/-march=i486/' Configure &amp;&amp;
50./config --openssldir=/etc/ssl --prefix=/usr shared &amp;&amp;
51make MANDIR=/usr/share/man &amp;&amp;
52make MANDIR=/usr/share/man install &amp;&amp;
53cp -r certs /etc/ssl &amp;&amp;
54rmdir /etc/ssl/lib</command></userinput></screen>
55
56</sect2>
57
58<sect2>
59<title>Command explanations</title>
60
61<para><option>no-rc5 no-idea</option>: When added to the
62<command>./config</command> command, this will eliminate the building of those
63encryption methods. Patent licenses may be needed for you to utilize either of
64those methods in your projects.</para>
65
66<para><command>rm doc/apps/passwd.pod</command>: This command prevents
67<application>Open<acronym>SSL</acronym></application> from installing its
68passwd man page over an existing man page with the same name.</para>
69
70<para><command>mv doc/crypto/{,openssl_}threads.pod</command>: This
71commands prevents <application>Open<acronym>SSL</acronym></application> from
72overwriting an existing man page from <application>Perl</application>.</para>
73
74<para><command>sed -i -e 's/-m486/-march=i486/' Configure</command>:
75<application>GCC</application> issues a warning on every
76compilation because the <command>Configure</command>
77command uses deprecated <parameter>-m486</parameter> instead of
78<parameter>-march=i486</parameter>.</para>
79
80<para><screen><command>make MANDIR=/usr/share/man
81make MANDIR=/usr/share/man install</command></screen> These
82commands install <application>OpenSSL</application> with the man pages
83in <filename class='directory'>/usr/share/man</filename> instead of the
84default which is <filename class='directory'>/etc/ssl/man</filename>.</para>
85
86<para><command>cp -r certs /etc/ssl</command>: The certificates
87must be copied manually since the install script
88skips this step.</para>
89
90<para><command>rmdir /etc/ssl/lib</command>: This is simply a tidy-up command.
91For some reason, the <application>openssl</application> install routine creates
92the <filename class='directory'>/etc/ssl/lib</filename> directory even though
93the libraries have been installed in
94<filename class='directory'>/usr/lib</filename>. We remove it to keep things
95nice and tidy!</para>
96
97</sect2>
98
99<sect2>
100<title>Configuring <application>OpenSSL</application></title>
101
102<sect3><title>Config files</title>
103<para><filename>/etc/ssl/openssl.cnf</filename></para>
104</sect3>
105
106<sect3><title>Configuration Information</title>
107
108<para>Most people who just want to use
109<application>openssl</application> for providing functions
110to other programs such as <application>OpenSSH</application> and web browsers won't need to worry
111about configuring <application>OpenSSL</application>. Configuring
112<application>OpenSSL</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 contains <command>
123c_rehash</command>, <command>openssl</command>, <filename
124class='libraryfile'>libcrypto</filename> libraries and <filename
125class='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 implements a wide
152range of cryptographic algorithms used in various Internet standards. The
153services provided by this library are used by the
154<application>Open<acronym>SSL</acronym>
155</application> implementations of <acronym>SSL</acronym>, <acronym>TLS
156</acronym> and <acronym>S/MIME</acronym>, and they have also been used to
157implement <application>Open<acronym>SSH</acronym></application>,
158<application>Open<acronym>PGP</acronym>
159</application>, and other cryptographic standards.</para>
160
161</sect3>
162
163<sect3><title>libssl</title>
164
165<para>The <application>Open<acronym>SSL</acronym></application> <acronym>SSL</acronym> library
166implements the Secure Sockets Layer (<acronym>SSL</acronym> v2/v3) and
167Transport Layer Security (<acronym>TLS</acronym> v1) protocols. It provides a
168rich <acronym>API</acronym>, documentation on which can be found by running
169<command>man 3 ssl</command>.</para>
170
171</sect3>
172
173</sect2>
174
175</sect1>
176
Note: See TracBrowser for help on using the repository browser.