newhostkey generates an RSA public/private key pair suitable for authenticating this host is generated and stored in the NSS database.
The --quiet option suppresses both the rsasigkey narrative and the existing-file warning message.
The --nssdir option specifies the NSS DB directory where the certificate key, and modsec databases reside (default /etc/ipsec.d)
The --password option specifies a module authentication password that may be required if FIPS mode is enabled.
The --bits option specifies the number of bits in the RSA key; the current default is a random (multiple of 16) value between 3072 and 4096. The minimum allowed is 2192.
The --seeddev is used to specify the random device (default /dev/random used to seed the crypto library RNG.
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) .
placeholder to suppress warning
This HTML page was made with roffit.