From 204e82ca3e598120c1a5e7a590ac6bf20ac37d68 Mon Sep 17 00:00:00 2001 From: Tobias Heider Date: Fri, 24 Nov 2023 23:23:54 +0100 Subject: [PATCH] Remove obsolete setup_config.sh --- setup_config.sh | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 setup_config.sh diff --git a/setup_config.sh b/setup_config.sh deleted file mode 100755 index 39248f35..00000000 --- a/setup_config.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# Generate iked config directory structure and local key. - -set -e - -DIR=$1 - -if [ -z "$DIR" ]; then - echo "usage: $0 CONFIG_DIR" - exit 1 -fi - -mkdir -p "$DIR/ca" -mkdir -p "$DIR/certs" -mkdir -p "$DIR/crls" -mkdir -p "$DIR/private" -mkdir -p "$DIR/pubkeys/ipv4" -mkdir -p "$DIR/pubkeys/ipv6" -mkdir -p "$DIR/pubkeys/fqdn" -mkdir -p "$DIR/pubkeys/ufqdn" - -chmod -R 0700 "$DIR/private" - -openssl ecparam -genkey -name prime256v1 -noout -out "$DIR/private/local.key" -openssl ec -in "$DIR/private/local.key" -pubout -out "$DIR/local.pub"