ipsec_newhostkey (8) - Linux Manuals
ipsec_newhostkey: generate a new raw RSA authentication key for a host
NAME
ipsec_newhostkey - generate a new raw RSA authentication key for a host
SYNOPSIS
-
ipsec newhostkey [[--quiet] | [--verbose]] [--nssdirnssdir] [--password
password] [--bits bits] [--seeddev device] [--hostname hostname] [--output filename]
DESCRIPTION
newhostkey
See ipsec_showhostkey(8) for how to extract the public key from the NSS database.
Output Options
--output
--quiet
--nssdir
--password
--bits
--seeddev
--hostname
Originally written for the Linux FreeS/WAN project <m[blue]http://www.freeswan.orgm[]> by Henry Spencer. Updated by Paul Wouters
As with
rsasigkey, the run time is difficult to predict, since depletion of the system's randomness pool can cause arbitrarily long waits for random bits for seeding the NSS library, and the prime-number searches can also take unpredictable (and potentially large) amounts of CPU time. See
ipsec_rsasigkey(8)
.
A higher-level tool which could handle the clerical details of changing to a new key would be helpful.
Paul Wouters
ipsec_rsasigkey(8),
ipsec_showhostkey(8),
ipsec.secrets(5)
FILES
HISTORY
BUGS
AUTHOR
SEE ALSO