10139N/A - Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC") 10139N/A - Copyright (C) 2000-2003 Internet Software Consortium. 10139N/A - Permission to use, copy, modify, and/or distribute this software for any 10139N/A - purpose with or without fee is hereby granted, provided that the above 10139N/A - copyright notice and this permission notice appear in all copies. 10139N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 10139N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10139N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 10139N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12571N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 10139N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 10139N/A - PERFORMANCE OF THIS SOFTWARE. 12773N/A<
meta http-
equiv="Content-Type" content="text/html; charset=ISO-8859-1">
11340N/A<
meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
11340N/A<
body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
11340N/A<
table width="100%" summary="Navigation header">
11444N/A<
tr><
th colspan="3" align="center"><
span class="application">dnssec-settime</
span></
th></
tr>
10139N/A<
th width="60%" align="center">Manual pages</
th>
10139N/A<
div class="refentry" lang="en">
10139N/A<
p><
span class="application">dnssec-settime</
span> — Set the key timing metadata for a DNSSEC key</
p>
10139N/A<
div class="cmdsynopsis"><
p><
code class="command">dnssec-settime</
code> [<
code class="option">-f</
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">-P <
em class="replaceable"><
code>
date/
offset</
code></
em></
code>] [<
code class="option">-A <
em class="replaceable"><
code>
date/
offset</
code></
em></
code>] [<
code class="option">-R <
em class="replaceable"><
code>
date/
offset</
code></
em></
code>] [<
code class="option">-I <
em class="replaceable"><
code>
date/
offset</
code></
em></
code>] [<
code class="option">-D <
em class="replaceable"><
code>
date/
offset</
code></
em></
code>] [<
code class="option">-h</
code>] [<
code class="option">-v <
em class="replaceable"><
code>level</
code></
em></
code>] [<
code class="option">-E <
em class="replaceable"><
code>engine</
code></
em></
code>] {keyfile}</
p></
div>
10139N/A<
div class="refsect1" lang="en">
10139N/A<
a name="id2624121"></
a><
h2>DESCRIPTION</
h2>
10139N/A<
p><
span><
strong class="command">dnssec-settime</
strong></
span>
10139N/A reads a DNSSEC private key file and sets the key timing metadata
10139N/A as specified by the <
code class="option">-P</
code>, <
code class="option">-A</
code>,
10139N/A <
code class="option">-R</
code>, <
code class="option">-I</
code>, and <
code class="option">-D</
code>
10139N/A options. The metadata can then be used by
10139N/A <
span><
strong class="command">dnssec-signzone</
strong></
span> or other signing software to
10139N/A determine when a key is to be published, whether it should be
10139N/A If none of these options is set on the command line,
10139N/A then <
span><
strong class="command">dnssec-settime</
strong></
span> simply prints the key timing
10139N/A metadata already stored in the key.
10139N/A When key metadata fields are changed, both files of a key
10139N/A Metadata fields are stored in the private file. A human-readable
10139N/A description of the metadata is also placed in comments in the key
10139N/A file. The private file's permissions are always set to be
10139N/A inaccessible to anyone other than the owner (mode 0600).
10139N/A<
div class="refsect1" lang="en">
10139N/A<
a name="id2630324"></
a><
h2>OPTIONS</
h2>
10139N/A<
dt><
span class="term">-f</
span></
dt>
10139N/A Force an update of an old-format key with no metadata fields.
10139N/A Without this option, <
span><
strong class="command">dnssec-settime</
strong></
span> will
10139N/A fail when attempting to update a legacy key. With this option,
10139N/A the key will be recreated in the new format, but with the
10139N/A original key data retained. The key's creation date will be
12356N/A set to the present time. If no other values are specified,
10139N/A then the key's publication and activation dates will also
12356N/A<
dt><
span class="term">-K <
em class="replaceable"><
code>directory</
code></
em></
span></
dt>
12356N/A Sets the directory in which the key files are to reside.
10139N/A<
dt><
span class="term">-L <
em class="replaceable"><
code>ttl</
code></
em></
span></
dt>
10139N/A Sets the default TTL to use for this key when it is converted
10139N/A into a DNSKEY RR. If the key is imported into a zone,
10139N/A this is the TTL that will be used for it, unless there was
10139N/A already a DNSKEY RRset in place, in which case the existing TTL
10139N/A would take precedence. Setting the default TTL to
10139N/A <
code class="literal">0</
code> or <
code class="literal">none</
code> removes it.
10139N/A<
dt><
span class="term">-h</
span></
dt>
10139N/A<
dt><
span class="term">-v <
em class="replaceable"><
code>level</
code></
em></
span></
dt>
11139N/A<
dt><
span class="term">-E <
em class="replaceable"><
code>engine</
code></
em></
span></
dt>
12773N/A Specifies the cryptographic hardware to use, when applicable.
10139N/A When BIND is built with OpenSSL PKCS#11 support, this defaults
10139N/A to the string "pkcs11", which identifies an OpenSSL engine
10139N/A that can drive a cryptographic accelerator or hardware service
10139N/A module. When BIND is built with native PKCS#11 cryptography
10139N/A (--enable-native-pkcs11), it defaults to the path of the PKCS#11
10139N/A provider library specified via "--with-pkcs11".
10139N/A<
div class="refsect1" lang="en">
10139N/A<
a name="id2630449"></
a><
h2>TIMING OPTIONS</
h2>
10139N/A Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS.
10139N/A If the argument begins with a '+' or '-', it is interpreted as
10139N/A an offset from the present time. For convenience, if such an offset
10139N/A is followed by one of the suffixes 'y', 'mo', 'w', 'd', 'h', or 'mi',
10139N/A then the offset is computed in years (defined as 365 24-hour days,
10139N/A ignoring leap years), months (defined as 30 24-hour days), weeks,
10139N/A days, hours, or minutes, respectively. Without a suffix, the offset
10139N/A is computed in seconds. To unset a date, use 'none' or 'never'.
10139N/A<
dt><
span class="term">-P <
em class="replaceable"><
code>
date/
offset</
code></
em></
span></
dt>
10139N/A Sets the date on which a key is to be published to the zone.
10139N/A After that date, the key will be included in the zone but will
12889N/A<
dt><
span class="term">-A <
em class="replaceable"><
code>
date/
offset</
code></
em></
span></
dt>
12889N/A Sets the date on which the key is to be activated. After that
10139N/A date, the key will be included in the zone and used to sign
10139N/A<
dt><
span class="term">-R <
em class="replaceable"><
code>
date/
offset</
code></
em></
span></
dt>
10139N/A Sets the date on which the key is to be revoked. After that
10139N/A date, the key will be flagged as revoked. It will be included
10139N/A in the zone and will be used to sign it.
10139N/A<
dt><
span class="term">-I <
em class="replaceable"><
code>
date/
offset</
code></
em></
span></
dt>
10139N/A Sets the date on which the key is to be retired. After that
10139N/A date, the key will still be included in the zone, but it
10139N/A<
dt><
span class="term">-D <
em class="replaceable"><
code>
date/
offset</
code></
em></
span></
dt>
10139N/A Sets the date on which the key is to be deleted. After that
10139N/A date, the key will no longer be included in the zone. (It
10139N/A may remain in the key repository, however.)
10139N/A<
dt><
span class="term">-S <
em class="replaceable"><
code>predecessor key</
code></
em></
span></
dt>
10139N/A Select a key for which the key being modified will be an
10139N/A explicit successor. The name, algorithm, size, and type of the
10139N/A predecessor key must exactly match those of the key being
10139N/A modified. The activation date of the successor key will be set
10139N/A to the inactivation date of the predecessor. The publication
10139N/A date will be set to the activation date minus the prepublication
10139N/A interval, which defaults to 30 days.
10139N/A<
dt><
span class="term">-i <
em class="replaceable"><
code>interval</
code></
em></
span></
dt>
10139N/A Sets the prepublication interval for a key. If set, then
10139N/A the publication and activation dates must be separated by at least
10139N/A this much time. If the activation date is specified but the
10139N/A publication date isn't, then the publication date will default
10139N/A to this much time before the activation date; conversely, if
10139N/A the publication date is specified but activation date isn't,
10139N/A then activation will be set to this much time after publication.
10139N/A If the key is being set to be an explicit successor to another
10139N/A key, then the default prepublication interval is 30 days;
10139N/A As with date offsets, if the argument is followed by one of
12889N/A the suffixes 'y', 'mo', 'w', 'd', 'h', or 'mi', then the
12889N/A interval is measured in years, months, weeks, days, hours,
12571N/A or minutes, respectively. Without a suffix, the interval is
12356N/A<
div class="refsect1" lang="en">
12279N/A<
a name="id2635980"></
a><
h2>PRINTING OPTIONS</
h2>
12225N/A <
span><
strong class="command">dnssec-settime</
strong></
span> can also be used to print the
12225N/A timing metadata associated with a key.
11340N/A<
dt><
span class="term">-u</
span></
dt>
11263N/A Print times in UNIX epoch format.
11139N/A<
dt><
span class="term">-p <
em class="replaceable"><
code>
C/
P/
A/
R/
I/
D/
all</
code></
em></
span></
dt>
10973N/A Print a specific metadata value or set of metadata values.
10973N/A The <
code class="option">-p</
code> option may be followed by one or more
10823N/A of the following letters to indicate which value or values to print:
10823N/A <
code class="option">C</
code> for the creation date,
10264N/A <
code class="option">P</
code> for the publication date,
10264N/A <
code class="option">A</
code> for the activation date,
10180N/A <
code class="option">R</
code> for the revocation date,
10180N/A <
code class="option">I</
code> for the inactivation date, or
10139N/A <
code class="option">D</
code> for the deletion date.
10139N/A To print all of the metadata, use <
code class="option">-p all</
code>.
10139N/A<
div class="refsect1" lang="en">
10139N/A<
a name="id2636060"></
a><
h2>SEE ALSO</
h2>
10139N/A<
p><
span class="citerefentry"><
span class="refentrytitle">dnssec-keygen</
span>(8)</
span>,
10139N/A <
span class="citerefentry"><
span class="refentrytitle">dnssec-signzone</
span>(8)</
span>,
10139N/A <
em class="citetitle">BIND 9 Administrator Reference Manual</
em>,
10139N/A <
em class="citetitle">RFC 5011</
em>.
10139N/A<
div class="refsect1" lang="en">
10139N/A<
a name="id2636093"></
a><
h2>AUTHOR</
h2>
10139N/A<
p><
span class="corpauthor">Internet Systems Consortium</
span>
10139N/A<
table width="100%" summary="Navigation footer">
10139N/A<
td width="40%" align="left" valign="top">
10139N/A<
span class="application">dnssec-revoke</
span>�</
td>
10139N/A<
td width="40%" align="right" valign="top">�<
span class="application">dnssec-signzone</
span>