dnssec-keyfromlabel.docbook revision a60bf97f9f7dcde6f4ca6e8188245fb0866200db
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews [<!ENTITY mdash "—">]>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - Copyright (C) 2008-2012, 2014 Internet Systems Consortium, Inc. ("ISC")
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - Permission to use, copy, modify, and/or distribute this software for any
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - purpose with or without fee is hereby granted, provided that the above
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - copyright notice and this permission notice appear in all copies.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews - PERFORMANCE OF THIS SOFTWARE.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <refentryinfo>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews </refentryinfo>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <refentrytitle><application>dnssec-keyfromlabel</application></refentrytitle>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <refnamediv>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <refname><application>dnssec-keyfromlabel</application></refname>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <refpurpose>DNSSEC key generation tool</refpurpose>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews </refnamediv>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews </copyright>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <refsynopsisdiv>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <cmdsynopsis>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg choice="req">-l <replaceable class="parameter">label</replaceable></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-a <replaceable class="parameter">algorithm</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-A <replaceable class="parameter">date/offset</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-D <replaceable class="parameter">date/offset</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-E <replaceable class="parameter">engine</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-f <replaceable class="parameter">flag</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-I <replaceable class="parameter">date/offset</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-i <replaceable class="parameter">interval</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-K <replaceable class="parameter">directory</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-L <replaceable class="parameter">ttl</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-n <replaceable class="parameter">nametype</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-P <replaceable class="parameter">date/offset</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-p <replaceable class="parameter">protocol</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-R <replaceable class="parameter">date/offset</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-S <replaceable class="parameter">key</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-t <replaceable class="parameter">type</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews </cmdsynopsis>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews </refsynopsisdiv>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews generates a key pair of files that referencing a key object stored
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews in a cryptographic hardware service module (HSM). The private key
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews file can be used for DNSSEC signing of zone data as if it were a
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews conventional signing key created by <command>dnssec-keygen</command>,
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews but the key material is stored within the HSM, and the actual signing
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews takes place there.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews The <option>name</option> of the key is specified on the command
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews line. This must match the name of the zone for which the key is
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews being generated.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <variablelist>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <varlistentry>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <term>-a <replaceable class="parameter">algorithm</replaceable></term>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews Selects the cryptographic algorithm. The value of
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <option>algorithm</option> must be one of RSAMD5, RSASHA1,
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256, RSASHA512, ECCGOST,
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews ECDSAP256SHA256 or ECDSAP384SHA384.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews These values are case insensitive.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews If no algorithm is specified, then RSASHA1 will be used by
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews default, unless the <option>-3</option> option is specified,
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews in which case NSEC3RSASHA1 will be used instead. (If
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <option>-3</option> is used and an algorithm is specified,
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews that algorithm will be checked for compatibility with NSEC3.)
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews algorithm, and DSA is recommended.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews Note 2: DH automatically sets the -k flag.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews </varlistentry>
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews <varlistentry>