dnssec-keyfromlabel.docbook revision cc6cddfd94e8f0c58c290317b0853dac30b1b895
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe [<!ENTITY mdash "—">]>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - Copyright (C) 2008, 2009 Internet Systems Consortium, Inc. ("ISC")
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - Permission to use, copy, modify, and/or distribute this software for any
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - purpose with or without fee is hereby granted, provided that the above
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - copyright notice and this permission notice appear in all copies.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - PERFORMANCE OF THIS SOFTWARE.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!-- $Id: dnssec-keyfromlabel.docbook,v 1.14 2009/10/22 02:21:30 each Exp $ -->
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <refentryinfo>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe </refentryinfo>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <refentrytitle><application>dnssec-keyfromlabel</application></refentrytitle>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <refnamediv>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <refname><application>dnssec-keyfromlabel</application></refname>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <refpurpose>DNSSEC key generation tool</refpurpose>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe </refnamediv>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe </copyright>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <refsynopsisdiv>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <cmdsynopsis>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg choice="req">-l <replaceable class="parameter">label</replaceable></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-a <replaceable class="parameter">algorithm</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-A <replaceable class="parameter">date/offset</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-D <replaceable class="parameter">date/offset</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-E <replaceable class="parameter">engine</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-f <replaceable class="parameter">flag</replaceable></option></arg>
ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2abYuri Pankov <arg><option>-I <replaceable class="parameter">date/offset</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-K <replaceable class="parameter">directory</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-n <replaceable class="parameter">nametype</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-P <replaceable class="parameter">date/offset</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-p <replaceable class="parameter">protocol</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-R <replaceable class="parameter">date/offset</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-t <replaceable class="parameter">type</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe </cmdsynopsis>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe </refsynopsisdiv>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gets keys with the given label from a crypto hardware and builds
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe key files for DNSSEC (Secure DNS), as defined in RFC 2535
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe and RFC 4034.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe The <option>name</option> of the key is specified on the command
ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2abYuri Pankov line. This must match the name of the zone for which the key is
ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2abYuri Pankov being generated.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <variablelist>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <varlistentry>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <term>-a <replaceable class="parameter">algorithm</replaceable></term>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe Selects the cryptographic algorithm. The value of
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <option>algorithm</option> must be one of RSAMD5, RSASHA1,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe DSA, NSEC3RSASHA1, NSEC3DSA, RSASHA256 or RSASHA512.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe These values are case insensitive.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe If no algorithm is specified, then RSASHA1 will be used by
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe default, unless the <option>-3</option> option is specified,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe in which case NSEC3RSASHA1 will be used instead. (If
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <option>-3</option> is used and an algorithm is specified,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe that algorithm will be checked for compatibility with NSEC3.)