dnssec-settime.html revision 3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin - Permission to use, copy, modify, and/or distribute this software for any
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - purpose with or without fee is hereby granted, provided that the above
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - copyright notice and this permission notice appear in all copies.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - PERFORMANCE OF THIS SOFTWARE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<!-- $Id: dnssec-settime.html,v 1.14 2010/08/17 01:15:26 tbox Exp $ -->
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<a name="man.dnssec-settime"></a><div class="titlepage"></div>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<p><span class="application">dnssec-settime</span> — Set the key timing metadata for a DNSSEC key</p>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<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">-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>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<p><span><strong class="command">dnssec-settime</strong></span>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin reads a DNSSEC private key file and sets the key timing metadata
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin as specified by the <code class="option">-P</code>, <code class="option">-A</code>,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <code class="option">-R</code>, <code class="option">-I</code>, and <code class="option">-D</code>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin options. The metadata can then be used by
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <span><strong class="command">dnssec-signzone</strong></span> or other signing software to
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin determine when a key is to be published, whether it should be
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin used for signing a zone, etc.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin If none of these options is set on the command line,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin then <span><strong class="command">dnssec-settime</strong></span> simply prints the key timing
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin metadata already stored in the key.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin When key metadata fields are changed, both files of a key
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin pair (<code class="filename">Knnnn.+aaa+iiiii.key</code> and
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <code class="filename">Knnnn.+aaa+iiiii.private</code>) are regenerated.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin Metadata fields are stored in the private file. A human-readable
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin description of the metadata is also placed in comments in the key
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin Force an update of an old-format key with no metadata fields.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin Without this option, <span><strong class="command">dnssec-settime</strong></span> will
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin fail when attempting to update a legacy key. With this option,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin the key will be recreated in the new format, but with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin original key data retained. The key's creation date will be
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin set to the present time.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin Sets the directory in which the key files are to reside.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin Emit usage message and exit.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>