You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried the same parameters in terminal and got same output. Removing --output parameter will push the same issue for --hostname, very confusing for me. If I don't enter a parameter then it successfully generates a random key, storing in the NSS database.
$ sudo /usr/sbin/ipsec newhostkey --output test --hostname somehostname
ipsec newhostkey: unknown option `--output'
$ sudo /usr/sbin/ipsec newhostkey --hostname host
ipsec newhostkey: unknown option `--hostname'
$ sudo /usr/sbin/ipsec newhostkey
Generated RSA key pair with CKAID [redactec] was stored in the NSS database
The public key can be displayed using: ipsec showhostkey --left --ckaid [redactec]
Here's ipsec and its parameters output from terminal:
$ /usr/sbin/ipsec --help
Usage: ipsec {command} [argument] ...>
where {command} is one of:
start stop
restart status
trafficstatus traffic
globalstatus shuntstatus
briefstatus showstates
fips import
initnss checknss
checknflog addconn
algparse auto
barf cavp
dncheck ecdsasigkey
enumcheck getpeercon_server
hunkcheck ipcheck
jambufcheck keyidcheck
letsencrypt look
newhostkey pluto
readwriteconf rsasigkey
setup show
showhostkey timecheck
verify whack
See also: man ipsec <command> or ipsec <command> --help
See <https://libreswan.org/> for more general info.
Linux Libreswan 4.3 (netkey) on 6.1.0-0.deb11.13-amd64
$ /usr/sbin/ipsec newhostkey --help
Usage:
ipsec newhostkey [--seeddev device] [--keytype rsa] [--bits n]
ipsec newhostkey [--seeddev device] --keytype ecdsa [--curve curve]
other options: [--quiet] [--hostname host] [--nssdir /var/lib/ipsec/nss] \
[--password password]
Perhaps I'm using a incompatible ipsec package?
Thanks!
The text was updated successfully, but these errors were encountered:
OS: Debian GNU/Linux 11 (bullseye) x86_64
Kernel: 6.1.0-0.deb11.13-amd64
Webmin version: 2.111
Hello,
I'm currently trying to set up a VPN service through "IPsec VPN Configuration" module. At first I see this page:
When I click "Generate a key for host" with a valid hostname (no special chars, etc) I get this:
Checking ipsec/newkey.cgi file points the use of --output parameter:
webmin/ipsec/newkey.cgi
Line 9 in 97e4545
I've tried the same parameters in terminal and got same output. Removing
--output
parameter will push the same issue for--hostname
, very confusing for me. If I don't enter a parameter then it successfully generates a random key, storing in the NSS database.Here's ipsec and its parameters output from terminal:
Perhaps I'm using a incompatible ipsec package?
Thanks!
The text was updated successfully, but these errors were encountered: