diff options
Diffstat (limited to 'ci/docker/createcert.sh')
| -rwxr-xr-x | ci/docker/createcert.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ci/docker/createcert.sh b/ci/docker/createcert.sh deleted file mode 100755 index 1d55e6f..0000000 --- a/ci/docker/createcert.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -# Get absolute path to current directory this script is in -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) - -WEB_FQDN="eduvpnserver" - -# Create self signed cert and key -openssl req \ - -nodes \ - -subj "/CN=${WEB_FQDN}" \ - -x509 \ - -sha256 \ - -newkey rsa:2048 \ - -keyout "${SCRIPT_DIR}/selfsigned/${WEB_FQDN}.key" \ - -out "${SCRIPT_DIR}/selfsigned/${WEB_FQDN}.crt" \ - -addext "subjectAltName = DNS:${WEB_FQDN}" \ - -days 90 |
