nseq.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>nseq</title>
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  7. <link rev="made" href="mailto:root@localhost" />
  8. </head>
  9. <body>
  10. <ul id="index">
  11. <li><a href="#NAME">NAME</a></li>
  12. <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
  13. <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
  14. <li><a href="#OPTIONS">OPTIONS</a></li>
  15. <li><a href="#EXAMPLES">EXAMPLES</a></li>
  16. <li><a href="#NOTES">NOTES</a></li>
  17. <li><a href="#BUGS">BUGS</a></li>
  18. <li><a href="#COPYRIGHT">COPYRIGHT</a></li>
  19. </ul>
  20. <h1 id="NAME">NAME</h1>
  21. <p>openssl-nseq, nseq - create or examine a Netscape certificate sequence</p>
  22. <h1 id="SYNOPSIS">SYNOPSIS</h1>
  23. <p><b>openssl</b> <b>nseq</b> [<b>-help</b>] [<b>-in filename</b>] [<b>-out filename</b>] [<b>-toseq</b>]</p>
  24. <h1 id="DESCRIPTION">DESCRIPTION</h1>
  25. <p>The <b>nseq</b> command takes a file containing a Netscape certificate sequence and prints out the certificates contained in it or takes a file of certificates and converts it into a Netscape certificate sequence.</p>
  26. <h1 id="OPTIONS">OPTIONS</h1>
  27. <dl>
  28. <dt id="help"><b>-help</b></dt>
  29. <dd>
  30. <p>Print out a usage message.</p>
  31. </dd>
  32. <dt id="in-filename"><b>-in filename</b></dt>
  33. <dd>
  34. <p>This specifies the input filename to read or standard input if this option is not specified.</p>
  35. </dd>
  36. <dt id="out-filename"><b>-out filename</b></dt>
  37. <dd>
  38. <p>Specifies the output filename or standard output by default.</p>
  39. </dd>
  40. <dt id="toseq"><b>-toseq</b></dt>
  41. <dd>
  42. <p>Normally a Netscape certificate sequence will be input and the output is the certificates contained in it. With the <b>-toseq</b> option the situation is reversed: a Netscape certificate sequence is created from a file of certificates.</p>
  43. </dd>
  44. </dl>
  45. <h1 id="EXAMPLES">EXAMPLES</h1>
  46. <p>Output the certificates in a Netscape certificate sequence</p>
  47. <pre><code> openssl nseq -in nseq.pem -out certs.pem</code></pre>
  48. <p>Create a Netscape certificate sequence</p>
  49. <pre><code> openssl nseq -in certs.pem -toseq -out nseq.pem</code></pre>
  50. <h1 id="NOTES">NOTES</h1>
  51. <p>The <b>PEM</b> encoded form uses the same headers and footers as a certificate:</p>
  52. <pre><code> -----BEGIN CERTIFICATE-----
  53. -----END CERTIFICATE-----</code></pre>
  54. <p>A Netscape certificate sequence is a Netscape specific format that can be sent to browsers as an alternative to the standard PKCS#7 format when several certificates are sent to the browser: for example during certificate enrollment. It is used by Netscape certificate server for example.</p>
  55. <h1 id="BUGS">BUGS</h1>
  56. <p>This program needs a few more options: like allowing DER or PEM input and output files and allowing multiple certificate files to be used.</p>
  57. <h1 id="COPYRIGHT">COPYRIGHT</h1>
  58. <p>Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.</p>
  59. <p>Licensed under the OpenSSL license (the &quot;License&quot;). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p>
  60. </body>
  61. </html>