Content-type: text/html Manpage of IPSEC_SHOWHOSTKEY

IPSEC_SHOWHOSTKEY

Section: Maintenance Commands (8)
Updated: 15 April 2000
Index Return to Main Contents
 

NAME

ipsec showhostkey - show host's authentication key  

SYNOPSIS

ipsec showhostkey  

DESCRIPTION

Showdefaults outputs (on standard output) a DNS KEY record suitable for this host, using the host key information stored in ipsec.secrets. In general only the super-user can run this command.

The host name supplied in the KEY record is the output of hostname --fqdn with a . appended.  

DIAGNOSTICS

A complaint about ``no IN KEY line found'' indicates that the host has a key but it was generated with an old version of FreeS/WAN and does not contain the information that showhostkey needs.  

FILES

/etc/ipsec.secrets  

SEE ALSO

ipsec.secrets(5), ipsec_rsasigkey(8)  

HISTORY

Written for the Linux FreeS/WAN project <http://www.xs4all.nl/~freeswan/> by Henry Spencer.  

BUGS

Arguably, rather than just reporting the no-IN-KEY-line-found problem, showhostkey should be smart enough to run the existing key through rsasigkey with the --oldkey option, to generate a suitable output line.


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
FILES
SEE ALSO
HISTORY
BUGS

This document was created by man2html, using the manual pages.
Time: 02:46:48 GMT, July 02, 2000