diff options
author | 2006-11-28 23:44:35 +0000 | |
---|---|---|
committer | 2006-11-28 23:44:35 +0000 | |
commit | 80b79673aba3741a54eaf300640a26be9f366ef4 (patch) | |
tree | e5ac55aea9fcc3c4de09b3cb612929b1cbed4eb6 | |
parent | identify the chipset. (diff) | |
download | wireguard-openbsd-80b79673aba3741a54eaf300640a26be9f366ef4.tar.xz wireguard-openbsd-80b79673aba3741a54eaf300640a26be9f366ef4.zip |
Move isakmpd's auto-generated public key, local.pub, into /etc/isakmpd
This makes it readable by unprivileged uses, simplifying configuration,
and there is no reason for it to be secret.
ok msf deraadt hshoexer
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.294 2006/11/16 13:07:11 henning Exp $ +# $OpenBSD: rc,v 1.295 2006/11/28 23:44:35 mcbride Exp $ # System startup script run by init on autoboot # or after single-user. @@ -545,7 +545,7 @@ if [ ! -f /etc/isakmpd/private/local.key ]; then if /usr/sbin/openssl genrsa -out /etc/isakmpd/private/local.key 1024 \ > /dev/null 2>&1; then chmod 600 /etc/isakmpd/private/local.key - openssl rsa -out /etc/isakmpd/private/local.pub \ + openssl rsa -out /etc/isakmpd/local.pub \ -in /etc/isakmpd/private/local.key -pubout > /dev/null 2>&1 echo done. else |