[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[30f88917] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[09b524b] | 7 | <!-- for when .0 is not part of the new tarball name, but always referenced -->
|
---|
[23ed085] | 8 | <!ENTITY nss-url "archive.mozilla.org/pub/security/nss/releases">
|
---|
[299d5c54] | 9 |
|
---|
[6968e3cb] | 10 | <!-- micro versions-->
|
---|
[fe83f5c] | 11 | <!--<!ENTITY nss-download-http "https://&nss-url;/NSS_3_&nss-minor-version;_&nss-micro-version;_RTM/src/nss-&nss-version;.tar.gz">-->
|
---|
[02b153a] | 12 |
|
---|
[d445316] | 13 | <!-- no micro versions -->
|
---|
[3638081] | 14 | <!ENTITY nss-download-http "https://&nss-url;/NSS_&nss-dir;_RTM/src/nss-&nss-version;.tar.gz">
|
---|
[365c6fb] | 15 | <!ENTITY nss-download-ftp " ">
|
---|
[ec78b82] | 16 | <!ENTITY nss-md5sum "66da5ddb30ebf742338d4f7f180fb329">
|
---|
| 17 | <!ENTITY nss-size "74 MB">
|
---|
| 18 | <!ENTITY nss-buildsize "302 MB (add 146 MB for tests)">
|
---|
| 19 | <!ENTITY nss-time "1.1 SBU (with parallelism=4, add 16 SBU for tests on AMD Ryzens or at least 30 SBU on Intel machines)">
|
---|
[0771e2f] | 20 | <!-- On my system, I got 64.2 SBU, but Bruce gets 18 SBU. -renodr -->
|
---|
[b0b536c] | 21 | <!-- On my system, I got 63 SBU, but Xi gets ~18 SBU. -pierre (for 3.78) -->
|
---|
[71e36c7] | 22 | <!-- On my 3400G for 3.79 I got 16 SBU -ken -->
|
---|
[43fb57c] | 23 | <!-- Still 17 SBU for 3.81 - bdubbs -->
|
---|
[65aeaa02] | 24 | <!-- 73 SBU but I'm on Intel. -renodr -->
|
---|
[0d7f7190] | 25 | <!-- 3.86 amended the figures -ken
|
---|
| 26 | 3400G 14 SBU with 6.0.12, but the remeasured SBU has become very slow
|
---|
| 27 | and maybe other people would see a ster SBU on a fresh build;
|
---|
| 28 | i7-4790 35 SBU with 6.0.12, no failures
|
---|
[e440af5] | 29 | Bruce's 3900X 19.3 SBU, his i7-12700K about 30 SBU, 12 failures
|
---|
[7939b3d8] | 30 |
|
---|
[6848b244] | 31 | 3.93:
|
---|
| 32 | Passed: 69982
|
---|
[7939b3d8] | 33 | Failed: 0
|
---|
| 34 | Failed with core: 0
|
---|
| 35 | ASan failures: 0
|
---|
| 36 | Unknown status: 2
|
---|
| 37 | TinderboxPrint:Unknown: 2
|
---|
| 38 | -->
|
---|
[8e93424] | 39 | <!-- Test Results 3.95: (Intel i9-10900k) I got close to 70 SBU [rahul]
|
---|
| 40 |
|
---|
[a8d72e7d] | 41 | Passed: 69982
|
---|
| 42 | Failed: 0
|
---|
| 43 | Failed with core: 0
|
---|
| 44 | ASan failures: 0
|
---|
| 45 | Unknown status: 2
|
---|
| 46 | TinderboxPrint:Unknown: 2
|
---|
| 47 | -->
|
---|
[8e93424] | 48 |
|
---|
| 49 | <!-- Test Results 3.96: (AMD Ryzen 9 3900X) about 14 SBU [bdubbs]
|
---|
| 50 | Passed: 70289
|
---|
| 51 | Failed: 0
|
---|
| 52 | Failed with core: 0
|
---|
| 53 | ASan failures: 0
|
---|
| 54 | Unknown status: 2
|
---|
| 55 | TinderboxPrint:Unknown: 2
|
---|
| 56 |
|
---|
| 57 |
|
---|
| 58 | -->
|
---|
[ec78b82] | 59 | <!-- Test Results 3.97: (AMD Ryzen 7 1700) about 16 SBU [rahul]
|
---|
| 60 | Passed: 69809
|
---|
| 61 | Failed: 0
|
---|
| 62 | Failed with core: 0
|
---|
| 63 | ASan failures: 0
|
---|
| 64 | Unknown status: 2
|
---|
| 65 | TinderboxPrint:Unknown: 2
|
---|
| 66 | -->
|
---|
| 67 |
|
---|
[30f88917] | 68 | ]>
|
---|
| 69 |
|
---|
[b4ca8bb] | 70 | <sect1 id="nss" xreflabel="nss-&nss-version;">
|
---|
[30f88917] | 71 | <?dbhtml filename="nss.html"?>
|
---|
| 72 |
|
---|
| 73 |
|
---|
| 74 | <title>NSS-&nss-version;</title>
|
---|
| 75 |
|
---|
| 76 | <indexterm zone="nss">
|
---|
| 77 | <primary sortas="a-NSS">NSS</primary>
|
---|
| 78 | </indexterm>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="package">
|
---|
| 81 | <title>Introduction to NSS</title>
|
---|
| 82 |
|
---|
[9333a525] | 83 | <para>
|
---|
| 84 | The Network Security Services (<application>NSS</application>) package is
|
---|
| 85 | a set of libraries designed to support cross-platform development of
|
---|
| 86 | security-enabled client and server applications. Applications built with
|
---|
| 87 | NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12,
|
---|
| 88 | S/MIME, X.509 v3 certificates, and other security standards. This is
|
---|
| 89 | useful for implementing SSL and S/MIME or other Internet security
|
---|
| 90 | standards into an application.
|
---|
| 91 | </para>
|
---|
[30f88917] | 92 |
|
---|
[7481fd4] | 93 | &lfs120_checked;
|
---|
[e3060aa] | 94 |
|
---|
[30f88917] | 95 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 96 | <itemizedlist spacing="compact">
|
---|
| 97 | <listitem>
|
---|
[9333a525] | 98 | <para>
|
---|
| 99 | Download (HTTP): <ulink url="&nss-download-http;"/>
|
---|
| 100 | </para>
|
---|
[30f88917] | 101 | </listitem>
|
---|
| 102 | <listitem>
|
---|
[9333a525] | 103 | <para>
|
---|
| 104 | Download (FTP): <ulink url="&nss-download-ftp;"/>
|
---|
| 105 | </para>
|
---|
[30f88917] | 106 | </listitem>
|
---|
| 107 | <listitem>
|
---|
[9333a525] | 108 | <para>
|
---|
[0f62b2b] | 109 | Download MD5 sum: &nss-md5sum;
|
---|
| 110 | </para>
|
---|
[30f88917] | 111 | </listitem>
|
---|
| 112 | <listitem>
|
---|
[9333a525] | 113 | <para>
|
---|
| 114 | Download size: &nss-size;
|
---|
| 115 | </para>
|
---|
[30f88917] | 116 | </listitem>
|
---|
| 117 | <listitem>
|
---|
[9333a525] | 118 | <para>
|
---|
| 119 | Estimated disk space required: &nss-buildsize;
|
---|
| 120 | </para>
|
---|
[30f88917] | 121 | </listitem>
|
---|
| 122 | <listitem>
|
---|
[9333a525] | 123 | <para>
|
---|
| 124 | Estimated build time: &nss-time;
|
---|
| 125 | </para>
|
---|
[30f88917] | 126 | </listitem>
|
---|
| 127 | </itemizedlist>
|
---|
| 128 |
|
---|
[299d5c54] | 129 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 130 | <itemizedlist spacing="compact">
|
---|
| 131 | <listitem>
|
---|
| 132 | <para>
|
---|
| 133 | Required patch:
|
---|
[a41a3ea9] | 134 | <ulink url="&patch-root;/nss-&nss-version;-standalone-1.patch"/>
|
---|
[299d5c54] | 135 | </para>
|
---|
| 136 | </listitem>
|
---|
[907a269] | 137 | <!--
|
---|
[2980344] | 138 | <listitem>
|
---|
| 139 | <para>
|
---|
| 140 | Required patch for processors lacking the <quote>adx</quote>
|
---|
| 141 | instruction set:
|
---|
| 142 | <ulink url="&patch-root;/nss-&nss-version;-illegal_instruction-1.patch"/>
|
---|
| 143 | </para>
|
---|
| 144 | </listitem>
|
---|
[907a269] | 145 | -->
|
---|
[299d5c54] | 146 | </itemizedlist>
|
---|
| 147 |
|
---|
[dd44df7e] | 148 | <bridgehead renderas="sect3">NSS Dependencies</bridgehead>
|
---|
| 149 |
|
---|
| 150 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[9333a525] | 151 | <para role="required">
|
---|
| 152 | <xref linkend="nspr"/>
|
---|
| 153 | </para>
|
---|
[dd44df7e] | 154 |
|
---|
| 155 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[9333a525] | 156 | <para role="recommended">
|
---|
[96e9478] | 157 | <xref linkend="sqlite"/> and
|
---|
| 158 | <xref role="runtime" linkend="p11-kit"/> (runtime)
|
---|
[9333a525] | 159 | </para>
|
---|
[dd44df7e] | 160 |
|
---|
[9333a525] | 161 | <para condition="html" role="usernotes">
|
---|
[42ddc30] | 162 | Editor Notes: <ulink url="&blfs-wiki;/nss"/>
|
---|
[9333a525] | 163 | </para>
|
---|
[30f88917] | 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | <sect2 role="installation">
|
---|
| 167 | <title>Installation of NSS</title>
|
---|
| 168 |
|
---|
[907a269] | 169 | <!--
|
---|
[2c3969a] | 170 | <note>
|
---|
| 171 | <para>
|
---|
[2980344] | 172 | Some old generations processors lack an assembler instruction that
|
---|
| 173 | is generated unconditionally by NSS-3.90. It leads to an
|
---|
| 174 | "illegal instruction" fault when running firefox. The availability
|
---|
| 175 | of this instruction is asserted by the <quote>adx</quote> flag
|
---|
| 176 | in <filename>/proc/cpuinfo</filename>. If this flag is not set,
|
---|
| 177 | apply the following patch:
|
---|
[2c3969a] | 178 | </para>
|
---|
[cd29bc9] | 179 | </note>
|
---|
[2980344] | 180 |
|
---|
| 181 | <screen><userinput>grep -q adx /proc/cpuinfo || \
|
---|
| 182 | patch -Np1 -i ../nss-&nss-version;-illegal_instruction-1.patch</userinput></screen>
|
---|
[2c3969a] | 183 |
|
---|
[907a269] | 184 | -->
|
---|
[9333a525] | 185 | <para>
|
---|
| 186 | Install <application>NSS</application> by running the following commands:
|
---|
| 187 | </para>
|
---|
| 188 |
|
---|
[a41a3ea9] | 189 | <screen><userinput>patch -Np1 -i ../nss-&nss-version;-standalone-1.patch &&
|
---|
[b6d3d395] | 190 |
|
---|
[299d5c54] | 191 | cd nss &&
|
---|
[2beaab8] | 192 |
|
---|
[1b9bf3e] | 193 | make BUILD_OPT=1 \
|
---|
[731d374] | 194 | NSPR_INCLUDE_DIR=/usr/include/nspr \
|
---|
| 195 | USE_SYSTEM_ZLIB=1 \
|
---|
| 196 | ZLIB_LIBS=-lz \
|
---|
[af9fba4] | 197 | NSS_ENABLE_WERROR=0 \
|
---|
[a45062d] | 198 | $([ $(uname -m) = x86_64 ] && echo USE_64=1) \
|
---|
[2beaab8] | 199 | $([ -f /usr/include/sqlite3.h ] && echo NSS_USE_SYSTEM_SQLITE=1)</userinput></screen>
|
---|
[9333a525] | 200 |
|
---|
| 201 | <para>
|
---|
[4158a9b] | 202 | <!-- the unittest files get compiled automatically since nss-3.31.0 -->
|
---|
[9e1670e1] | 203 | To run the tests, execute the following commands<!--(1 test is known to fail)-->:
|
---|
[9333a525] | 204 | </para>
|
---|
[30f88917] | 205 |
|
---|
[b68a004] | 206 | <screen remap="test"><userinput>cd tests &&
|
---|
[c7768882] | 207 | HOST=localhost DOMSUF=localdomain ./all.sh
|
---|
[b68a004] | 208 | cd ../</userinput></screen>
|
---|
[8558044] | 209 |
|
---|
| 210 | <note>
|
---|
[73c6f44e] | 211 | <para>Some information about the tests:</para>
|
---|
| 212 | <itemizedlist spacing="compact">
|
---|
| 213 | <listitem>
|
---|
| 214 | <para>
|
---|
[6968e3cb] | 215 | HOST=localhost and DOMSUF=localdomain are required.
|
---|
[73c6f44e] | 216 | Without these variables, a FQDN is
|
---|
[fef4473] | 217 | required to be specified and this generic way should work for
|
---|
[b0b536c] | 218 | everyone, provided <systemitem>localhost.localdomain</systemitem>
|
---|
[334db6e5] | 219 | is defined
|
---|
| 220 | <phrase revision='sysv'>
|
---|
| 221 | in <filename>/etc/hosts</filename>, as done in
|
---|
| 222 | <ulink url="&lfs-root;/chapter09/network.html#ch-config-hosts">
|
---|
| 223 | the LFS book</ulink>.
|
---|
| 224 | </phrase>
|
---|
| 225 | <phrase revision='systemd'>
|
---|
| 226 | by the <systemitem class='library'>myhostname</systemitem>
|
---|
[8f45785] | 227 | Name Service Switch module, as specified in
|
---|
[334db6e5] | 228 | <ulink url="&lfs-root;/chapter08/glibc.html#conf-glibc">
|
---|
| 229 | the LFS book</ulink>.
|
---|
| 230 | </phrase>
|
---|
[73c6f44e] | 231 | </para>
|
---|
| 232 | </listitem>
|
---|
| 233 | <listitem>
|
---|
| 234 | <para>
|
---|
[7939b3d8] | 235 | The tests take a long time to run. If desired there is
|
---|
[8558044] | 236 | information in the all.sh script about running subsets of the
|
---|
[73c6f44e] | 237 | total test suite.
|
---|
| 238 | </para>
|
---|
| 239 | </listitem>
|
---|
| 240 | <listitem>
|
---|
| 241 | <para>
|
---|
| 242 | When interrupting the tests, the test suite
|
---|
[b68a004] | 243 | fails to spin down test servers that are run. This leads to an
|
---|
| 244 | infinite loop in the tests where the test suite tries to kill a server
|
---|
| 245 | that doesn't exist anymore because it pulls the wrong PID.
|
---|
[73c6f44e] | 246 | </para>
|
---|
| 247 | </listitem>
|
---|
| 248 | <listitem>
|
---|
| 249 | <para>
|
---|
[8558044] | 250 | Test suite results (in HTML format!) can be found at
|
---|
[73c6f44e] | 251 | ../../test_results/security/localhost.1/results.html
|
---|
| 252 | </para>
|
---|
| 253 | </listitem>
|
---|
[0d7f7190] | 254 | <listitem>
|
---|
| 255 | <para>
|
---|
| 256 | A few tests might fail on some Intel machines for unknown reasons.
|
---|
| 257 | </para>
|
---|
| 258 | </listitem>
|
---|
[73c6f44e] | 259 | </itemizedlist>
|
---|
| 260 | </note>
|
---|
[b68a004] | 261 |
|
---|
[9333a525] | 262 | <para>
|
---|
| 263 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 264 | </para>
|
---|
| 265 |
|
---|
[2beaab8] | 266 | <screen role="root"><userinput>cd ../dist &&
|
---|
| 267 |
|
---|
| 268 | install -v -m755 Linux*/lib/*.so /usr/lib &&
|
---|
| 269 | install -v -m644 Linux*/lib/{*.chk,libcrmf.a} /usr/lib &&
|
---|
| 270 |
|
---|
| 271 | install -v -m755 -d /usr/include/nss &&
|
---|
| 272 | cp -v -RL {public,private}/nss/* /usr/include/nss &&
|
---|
| 273 |
|
---|
[299d5c54] | 274 | install -v -m755 Linux*/bin/{certutil,nss-config,pk12util} /usr/bin &&
|
---|
[2beaab8] | 275 |
|
---|
[2b64864b] | 276 | install -v -m644 Linux*/lib/pkgconfig/nss.pc /usr/lib/pkgconfig</userinput></screen>
|
---|
[299d5c54] | 277 |
|
---|
[30f88917] | 278 | </sect2>
|
---|
| 279 |
|
---|
| 280 | <sect2 role="commands">
|
---|
| 281 | <title>Command Explanations</title>
|
---|
| 282 |
|
---|
[9333a525] | 283 | <para>
|
---|
| 284 | <parameter>BUILD_OPT=1</parameter>: This option is passed to
|
---|
| 285 | <command>make</command> so that the build is performed with no debugging
|
---|
| 286 | symbols built into the binaries and the default compiler optimizations are
|
---|
| 287 | used.
|
---|
| 288 | </para>
|
---|
| 289 |
|
---|
| 290 | <para>
|
---|
[0d7900a] | 291 | <parameter>NSPR_INCLUDE_DIR=/usr/include/nspr</parameter>: This option
|
---|
[9333a525] | 292 | sets the location of the nspr headers.
|
---|
| 293 | </para>
|
---|
| 294 |
|
---|
| 295 | <para>
|
---|
| 296 | <parameter>USE_SYSTEM_ZLIB=1</parameter>: This option is passed to
|
---|
| 297 | <command>make</command> to ensure that the
|
---|
| 298 | <filename class="libraryfile">libssl3.so</filename> library is linked to
|
---|
| 299 | the system installed <application>zlib</application> instead of the
|
---|
| 300 | in-tree version.
|
---|
| 301 | </para>
|
---|
| 302 |
|
---|
| 303 | <para>
|
---|
| 304 | <parameter>ZLIB_LIBS=-lz</parameter>: This option provides the
|
---|
| 305 | linker flags needed to link to the system <application>zlib</application>.
|
---|
| 306 | </para>
|
---|
[a45062d] | 307 |
|
---|
| 308 | <para>
|
---|
| 309 | <command>$([ $(uname -m) = x86_64 ] && echo USE_64=1)</command>:
|
---|
| 310 | The <parameter>USE_64=1</parameter> option is <emphasis>required on
|
---|
| 311 | x86_64</emphasis>, otherwise <command>make</command> will try (and fail)
|
---|
| 312 | to create 32-bit objects. The [ $(uname -m) = x86_64 ] test ensures it
|
---|
| 313 | has no effect on a 32 bit system.
|
---|
| 314 | </para>
|
---|
| 315 |
|
---|
| 316 | <para>
|
---|
| 317 | <command>([ -f /usr/include/sqlite3.h ] && echo
|
---|
| 318 | NSS_USE_SYSTEM_SQLITE=1)</command>: This tests if
|
---|
| 319 | <application>sqlite</application> is installed and if so it
|
---|
| 320 | <command>echo</command>s the option NSS_USE_SYSTEM_SQLITE=1 to
|
---|
| 321 | <command>make</command> so that
|
---|
| 322 | <filename class="libraryfile">libsoftokn3.so</filename> will link against
|
---|
| 323 | the system version of sqlite.
|
---|
| 324 | </para>
|
---|
[299d5c54] | 325 |
|
---|
[d65b11c] | 326 | <para>
|
---|
[26b48ac] | 327 | <option>NSS_DISABLE_GTESTS=1</option>: If you don't need to run
|
---|
[d65b11c] | 328 | NSS test suite, append this option to <command>make</command> command,
|
---|
| 329 | to prevent the compilation of tests and save some build time.
|
---|
| 330 | </para>
|
---|
| 331 |
|
---|
[30f88917] | 332 | </sect2>
|
---|
| 333 |
|
---|
[4a16903] | 334 | <sect2 role="configuration">
|
---|
| 335 | <title>Configuring NSS</title>
|
---|
| 336 |
|
---|
[47274444] | 337 | <para>
|
---|
| 338 | If <xref linkend="p11-kit"/> is installed, the
|
---|
| 339 | <application>p11-kit</application> trust module
|
---|
| 340 | (<filename>/usr/lib/pkcs11/p11-kit-trust.so</filename>) can be used as a
|
---|
| 341 | drop-in replacement for <filename>/usr/lib/libnssckbi.so</filename> to
|
---|
| 342 | transparently make the system CAs available to
|
---|
| 343 | <application>NSS</application> aware applications, rather than the static
|
---|
| 344 | list provided by <filename>/usr/lib/libnssckbi.so</filename>. As the
|
---|
| 345 | <systemitem class="username">root</systemitem> user, execute the following
|
---|
[01e2c90] | 346 | command:
|
---|
[47274444] | 347 | </para>
|
---|
[4a16903] | 348 |
|
---|
[5c69a2d] | 349 | <screen role="root"><userinput>ln -sfv ./pkcs11/p11-kit-trust.so /usr/lib/libnssckbi.so</userinput></screen>
|
---|
[4a16903] | 350 |
|
---|
[47274444] | 351 | <para>
|
---|
| 352 | Additionally, for dependent applications that do not use the internal
|
---|
| 353 | database (<filename>/usr/lib/libnssckbi.so</filename>), the
|
---|
[fef4473] | 354 | <filename>/usr/sbin/make-ca</filename> script included on the
|
---|
[47274444] | 355 | <xref linkend="make-ca"/> page can generate a system wide NSS DB with the
|
---|
| 356 | <parameter>-n</parameter> switch, or by modifying the
|
---|
[0771e2f] | 357 | <filename>/etc/make-ca/make-ca.conf</filename> file.
|
---|
[47274444] | 358 | </para>
|
---|
[4a16903] | 359 |
|
---|
| 360 | </sect2>
|
---|
| 361 |
|
---|
[30f88917] | 362 | <sect2 role="content">
|
---|
| 363 | <title>Contents</title>
|
---|
| 364 |
|
---|
| 365 | <segmentedlist>
|
---|
| 366 | <segtitle>Installed Programs</segtitle>
|
---|
| 367 | <segtitle>Installed Libraries</segtitle>
|
---|
| 368 | <segtitle>Installed Directories</segtitle>
|
---|
| 369 |
|
---|
| 370 | <seglistitem>
|
---|
[9333a525] | 371 | <seg>
|
---|
[299d5c54] | 372 | certutil, nss-config, and pk12util
|
---|
[61562907] | 373 | </seg>
|
---|
| 374 | <seg>
|
---|
[b68a004] | 375 | libcrmf.a, libfreebl3.so, libfreeblpriv3.so,
|
---|
| 376 | libnss3.so, libnssckbi.so, libnssckbi-testlib.so,
|
---|
[8558044] | 377 | libnssdbm3.so, libnsssysinit.so, libnssutil3.so,
|
---|
| 378 | libpkcs11testmodule.so, libsmime3.so, libsoftokn3.so,
|
---|
[23ed085] | 379 | and libssl3.so
|
---|
[61562907] | 380 | </seg>
|
---|
| 381 | <seg>
|
---|
| 382 | /usr/include/nss
|
---|
[9333a525] | 383 | </seg>
|
---|
[30f88917] | 384 | </seglistitem>
|
---|
| 385 | </segmentedlist>
|
---|
| 386 |
|
---|
| 387 | <variablelist>
|
---|
| 388 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 389 | <?dbfo list-presentation="list"?>
|
---|
| 390 | <?dbhtml list-presentation="table"?>
|
---|
| 391 |
|
---|
[9333a525] | 392 | <varlistentry id="certutil">
|
---|
| 393 | <term><command>certutil</command></term>
|
---|
| 394 | <listitem>
|
---|
| 395 | <para>
|
---|
| 396 | is the Mozilla Certificate Database Tool. It is a command-line
|
---|
| 397 | utility that can create and modify the Netscape Communicator
|
---|
| 398 | cert8.db and key3.db database files. It can also list, generate,
|
---|
| 399 | modify, or delete certificates within the cert8.db file and create
|
---|
| 400 | or change the password, generate new public and private key pairs,
|
---|
| 401 | display the contents of the key database, or delete key pairs within
|
---|
[4c24eb0a] | 402 | the key3.db file
|
---|
[9333a525] | 403 | </para>
|
---|
| 404 | <indexterm zone="nss certutil">
|
---|
| 405 | <primary sortas="b-certutil">certutil</primary>
|
---|
| 406 | </indexterm>
|
---|
| 407 | </listitem>
|
---|
| 408 | </varlistentry>
|
---|
| 409 |
|
---|
[299d5c54] | 410 | <varlistentry id="nss-config">
|
---|
| 411 | <term><command>nss-config</command></term>
|
---|
| 412 | <listitem>
|
---|
| 413 | <para>
|
---|
| 414 | is used to determine the NSS library settings of the installed NSS
|
---|
[4c24eb0a] | 415 | libraries
|
---|
[299d5c54] | 416 | </para>
|
---|
| 417 | <indexterm zone="nss nss-config">
|
---|
| 418 | <primary sortas="b-nss-config">nss-config</primary>
|
---|
| 419 | </indexterm>
|
---|
| 420 | </listitem>
|
---|
| 421 | </varlistentry>
|
---|
| 422 |
|
---|
[9333a525] | 423 | <varlistentry id="pk12util">
|
---|
| 424 | <term><command>pk12util</command></term>
|
---|
| 425 | <listitem>
|
---|
| 426 | <para>
|
---|
| 427 | is a tool for importing certificates and keys from pkcs #12 files
|
---|
| 428 | into NSS or exporting them. It can also list certificates and keys
|
---|
[4c24eb0a] | 429 | in such files
|
---|
[9333a525] | 430 | </para>
|
---|
| 431 | <indexterm zone="nss pk12util">
|
---|
| 432 | <primary sortas="b-pk12util">pk12util</primary>
|
---|
| 433 | </indexterm>
|
---|
| 434 | </listitem>
|
---|
| 435 | </varlistentry>
|
---|
[61562907] | 436 |
|
---|
[9333a525] | 437 | </variablelist>
|
---|
[61562907] | 438 |
|
---|
[30f88917] | 439 | </sect2>
|
---|
[61562907] | 440 |
|
---|
[30f88917] | 441 | </sect1>
|
---|