Browse Source

Bump size of isakmpd RSA host key up to 2048 bits to match the

SSH2-RSA size; ok hshoexer@, no objection from miod@
OPENBSD_4_5
naddy 16 years ago
parent
commit
43d49fafa4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -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 \


Loading…
Cancel
Save