openssl.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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. <sect1 id="ch-system-openssl" role="wrap">
  8. <?dbhtml filename="openssl.html"?>
  9. <sect1info condition="script">
  10. <productname>openssl</productname>
  11. <productnumber>&openssl-version;</productnumber>
  12. <address>&openssl-url;</address>
  13. </sect1info>
  14. <title>OpenSSL-&openssl-version;</title>
  15. <indexterm zone="ch-system-openssl">
  16. <primary sortas="a-OpenSSL">OpenSSL</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The OpenSSL package contains management tools and libraries relating
  21. to cryptography. These are useful for providing cryptographic functions
  22. to other packages, such as OpenSSH, email applications, and web browsers
  23. (for accessing HTTPS sites). </para>
  24. <segmentedlist>
  25. <segtitle>&buildtime;</segtitle>
  26. <segtitle>&diskspace;</segtitle>
  27. <seglistitem>
  28. <seg>&openssl-fin-sbu;</seg>
  29. <seg>&openssl-fin-du;</seg>
  30. </seglistitem>
  31. </segmentedlist>
  32. </sect2>
  33. <sect2 role="installation">
  34. <title>Installation of OpenSSL</title>
  35. <para>Prepare OpenSSL for compilation:</para>
  36. <screen><userinput remap="configure">./config --prefix=/usr \
  37. --openssldir=/etc/ssl \
  38. --libdir=lib \
  39. shared \
  40. zlib-dynamic</userinput></screen>
  41. <para>Compile the package:</para>
  42. <screen><userinput remap="make">make</userinput></screen>
  43. <para>To test the results, issue:</para>
  44. <screen><userinput remap="test">make test</userinput></screen>
  45. <para>One test 30-test_afalg.t is known to fail on some kernel
  46. configurations (it apparently assumes certain unspecified crypto
  47. options have been selected).</para>
  48. <para>Install the package:</para>
  49. <screen><userinput remap="install">sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
  50. make MANSUFFIX=ssl install</userinput></screen>
  51. <para>If desired, install the documentation:</para>
  52. <screen><userinput remap="install">mv -v /usr/share/doc/openssl /usr/share/doc/openssl-&openssl-version;
  53. cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
  54. </sect2>
  55. <sect2 id="contents-openssl" role="content">
  56. <title>Contents of OpenSSL</title>
  57. <segmentedlist>
  58. <segtitle>Installed programs</segtitle>
  59. <segtitle>Installed libraries</segtitle>
  60. <segtitle>Installed directories</segtitle>
  61. <seglistitem>
  62. <seg>
  63. c_rehash and openssl
  64. </seg>
  65. <seg>
  66. libcrypto.{so,a} and libssl.{so,a}
  67. </seg>
  68. <seg>
  69. /etc/ssl,
  70. /usr/include/openssl,
  71. /usr/lib/engines and
  72. /usr/share/doc/openssl-&openssl-version;
  73. </seg>
  74. </seglistitem>
  75. </segmentedlist>
  76. <variablelist>
  77. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  78. <?dbfo list-presentation="list"?>
  79. <?dbhtml list-presentation="table"?>
  80. <varlistentry id="c_rehash">
  81. <term><command>c_rehash</command></term>
  82. <listitem>
  83. <para>
  84. is a <application>Perl</application> script that scans all files in
  85. a directory and adds symbolic links to their hash values.
  86. </para>
  87. <indexterm zone="ch-system-openssl c_rehash">
  88. <primary sortas="b-c_rehash">c_rehash</primary>
  89. </indexterm>
  90. </listitem>
  91. </varlistentry>
  92. <varlistentry id="openssl-prog">
  93. <term><command>openssl</command></term>
  94. <listitem>
  95. <para>
  96. is a command-line tool for using the various cryptography functions
  97. of <application>OpenSSL</application>'s crypto library from the
  98. shell. It can be used for various functions which are documented in
  99. <command>man 1 openssl</command>.
  100. </para>
  101. <indexterm zone="ch-system-openssl openssl-prog">
  102. <primary sortas="b-openssl">openssl</primary>
  103. </indexterm>
  104. </listitem>
  105. </varlistentry>
  106. <varlistentry id="libcrypto">
  107. <term><filename class="libraryfile">libcrypto.so</filename></term>
  108. <listitem>
  109. <para>
  110. implements a wide range of cryptographic algorithms used in various
  111. Internet standards. The services provided by this library are used
  112. by the <application>OpenSSL</application> implementations of SSL,
  113. TLS and S/MIME, and they have also been used to implement
  114. <application>OpenSSH</application>,
  115. <application>OpenPGP</application>, and other cryptographic
  116. standards.
  117. </para>
  118. <indexterm zone="ch-system-openssl libcrypto">
  119. <primary sortas="c-libcrypto">libcrypto.so</primary>
  120. </indexterm>
  121. </listitem>
  122. </varlistentry>
  123. <varlistentry id="libssl">
  124. <term><filename class="libraryfile">libssl.so</filename></term>
  125. <listitem>
  126. <para>
  127. implements the Transport Layer Security (TLS v1) protocol.
  128. It provides a rich API, documentation
  129. on which can be found by running <command>man 3 ssl</command>.
  130. </para>
  131. <indexterm zone="ch-system-openssl libssl">
  132. <primary sortas="c-libssl">libssl.so</primary>
  133. </indexterm>
  134. </listitem>
  135. </varlistentry>
  136. </variablelist>
  137. </sect2>
  138. </sect1>