diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2008-12-11 15:44:01 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2008-12-11 15:44:01 +0000 |
commit | 8681fab5fcd26b61704a243edb3d411fa884eaf5 (patch) | |
tree | 230cba5f1d82550d8e7b5e3499090bf71eed3b75 /etc | |
parent | 64f9981f717e4751c1460c2149f28fdcaefb18d8 (diff) |
Bump size of isakmpd RSA host key up to 2048 bits to match the
SSH2-RSA size; ok hshoexer@, no objection from miod@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.320 2008/11/27 00:52:06 uwe Exp $ +# $OpenBSD: rc,v 1.321 2008/12/11 15:44:00 naddy Exp $ # System startup script run by init on autoboot # or after single-user. @@ -594,7 +594,7 @@ fi if [ ! -f /etc/isakmpd/private/local.key ]; then echo -n "openssl: generating new isakmpd RSA key... " - if /usr/sbin/openssl genrsa -out /etc/isakmpd/private/local.key 1024 \ + if /usr/sbin/openssl genrsa -out /etc/isakmpd/private/local.key 2048 \ > /dev/null 2>&1; then chmod 600 /etc/isakmpd/private/local.key openssl rsa -out /etc/isakmpd/local.pub \ |