man.dnssec-keyfromlabel.html revision cefd74ae81cf51692af3a38c1330261a5110fca7
3515994554d167522343ce57417648b39370ccabcilix - Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
3515994554d167522343ce57417648b39370ccabcilix - Copyright (C) 2000-2003 Internet Software Consortium.
3515994554d167522343ce57417648b39370ccabcilix - Permission to use, copy, modify, and/or distribute this software for any
3515994554d167522343ce57417648b39370ccabcilix - purpose with or without fee is hereby granted, provided that the above
3515994554d167522343ce57417648b39370ccabcilix - copyright notice and this permission notice appear in all copies.
3515994554d167522343ce57417648b39370ccabcilix - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
3515994554d167522343ce57417648b39370ccabcilix - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3515994554d167522343ce57417648b39370ccabcilix - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
3515994554d167522343ce57417648b39370ccabcilix - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3515994554d167522343ce57417648b39370ccabcilix - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
3515994554d167522343ce57417648b39370ccabcilix - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
f8df4b9f0c17f7a47d467583bd9e4e2e89a9237dcilix - PERFORMANCE OF THIS SOFTWARE.
3515994554d167522343ce57417648b39370ccabcilix<!-- $Id$ -->
3515994554d167522343ce57417648b39370ccabcilix<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
3515994554d167522343ce57417648b39370ccabcilix<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
3515994554d167522343ce57417648b39370ccabcilix<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
3515994554d167522343ce57417648b39370ccabcilix<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
ae07f331747953e1b35a4415004f8be9cf1ea003cilix<link rel="prev" href="man.dnssec-importkey.html" title="dnssec-importkey">
6bbf41c7e0d07ad73b5858518f850966e8170103cilix<link rel="next" href="man.dnssec-keygen.html" title="dnssec-keygen">
6bbf41c7e0d07ad73b5858518f850966e8170103cilix<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
3515994554d167522343ce57417648b39370ccabcilix<tr><th colspan="3" align="center"><span class="application">dnssec-keyfromlabel</span></th></tr>
b8502defa91647a317b285046a49546612f66e6dKris<a accesskey="p" href="man.dnssec-importkey.html">Prev</a>�</td>
3515994554d167522343ce57417648b39370ccabcilix<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-keygen.html">Next</a>
3515994554d167522343ce57417648b39370ccabcilix<a name="man.dnssec-keyfromlabel"></a><div class="titlepage"></div>
0b2d8abc1011ad865fce3b883ccb2587cb15cc90Johan B. C. Engelen<p><span class="application">dnssec-keyfromlabel</span> — DNSSEC key generation tool</p>
3515994554d167522343ce57417648b39370ccabcilix<div class="cmdsynopsis"><p><code class="command">dnssec-keyfromlabel</code> {-l <em class="replaceable"><code>label</code></em>} [<code class="option">-3</code>] [<code class="option">-a <em class="replaceable"><code>algorithm</code></em></code>] [<code class="option">-A <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-D <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-E <em class="replaceable"><code>engine</code></em></code>] [<code class="option">-f <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-G</code>] [<code class="option">-I <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-i <em class="replaceable"><code>interval</code></em></code>] [<code class="option">-k</code>] [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-L <em class="replaceable"><code>ttl</code></em></code>] [<code class="option">-n <em class="replaceable"><code>nametype</code></em></code>] [<code class="option">-P <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-p <em class="replaceable"><code>protocol</code></em></code>] [<code class="option">-R <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-S <em class="replaceable"><code>key</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-V</code>] [<code class="option">-y</code>] {name}</p></div>
3515994554d167522343ce57417648b39370ccabcilix<p><span><strong class="command">dnssec-keyfromlabel</strong></span>
3515994554d167522343ce57417648b39370ccabcilix generates a key pair of files that referencing a key object stored
f8df4b9f0c17f7a47d467583bd9e4e2e89a9237dcilix in a cryptographic hardware service module (HSM). The private key
f8df4b9f0c17f7a47d467583bd9e4e2e89a9237dcilix file can be used for DNSSEC signing of zone data as if it were a
3515994554d167522343ce57417648b39370ccabcilix conventional signing key created by <span><strong class="command">dnssec-keygen</strong></span>,
80a38fd6ed41a1c70f1cc961df821932aafb6764dvlierop but the key material is stored within the HSM, and the actual signing
80a38fd6ed41a1c70f1cc961df821932aafb6764dvlierop takes place there.
3515994554d167522343ce57417648b39370ccabcilix The <code class="option">name</code> of the key is specified on the command
3515994554d167522343ce57417648b39370ccabcilix line. This must match the name of the zone for which the key is
3515994554d167522343ce57417648b39370ccabcilix being generated.
6bbf41c7e0d07ad73b5858518f850966e8170103cilix<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
3515994554d167522343ce57417648b39370ccabcilix Selects the cryptographic algorithm. The value of
3515994554d167522343ce57417648b39370ccabcilix <code class="option">algorithm</code> must be one of RSAMD5, RSASHA1,
80a38fd6ed41a1c70f1cc961df821932aafb6764dvlierop DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512, ECCGOST,
3515994554d167522343ce57417648b39370ccabcilix ECDSAP256SHA256 or ECDSAP384SHA384.
3515994554d167522343ce57417648b39370ccabcilix These values are case insensitive.
3515994554d167522343ce57417648b39370ccabcilix If no algorithm is specified, then RSASHA1 will be used by
3515994554d167522343ce57417648b39370ccabcilix default, unless the <code class="option">-3</code> option is specified,
3515994554d167522343ce57417648b39370ccabcilix in which case NSEC3RSASHA1 will be used instead. (If
3515994554d167522343ce57417648b39370ccabcilix <code class="option">-3</code> is used and an algorithm is specified,
3515994554d167522343ce57417648b39370ccabcilix that algorithm will be checked for compatibility with NSEC3.)
3515994554d167522343ce57417648b39370ccabcilix Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement
3515994554d167522343ce57417648b39370ccabcilix algorithm, and DSA is recommended.
3515994554d167522343ce57417648b39370ccabcilix Note 2: DH automatically sets the -k flag.