aboutsummaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorJakub Dudycz <jakub.dudycz@nokia.com>2018-08-07 09:32:43 +0200
committerJakub Dudycz <jakub.dudycz@nokia.com>2018-08-07 09:32:43 +0200
commitf16fff6a5c15474d86ea304b499535076d5a368c (patch)
tree13b76f93b0c0dff6b5d80c650fdc9004cca5c8cd /ssl
parent77f11bb84dc36638abcce8ffa1e1a67a3600b5a2 (diff)
Clean up repository
There are some leftover from gitlab that should be removed from/updated in official repo. Change-Id: I9e47321433ed2f744135b7fb85f140f381fe84e1 Issue-ID: DCAEGEN2-690 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Diffstat (limited to 'ssl')
-rwxr-xr-xssl/connect.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/ssl/connect.sh b/ssl/connect.sh
deleted file mode 100755
index 16524c3e..00000000
--- a/ssl/connect.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-set -eou pipefail
-
-if [[ $# < 2 ]]; then
- echo "Please provide a key file prefix and a target host:port"
- exit 1
-fi
-
-key_prefix=$1
-host_and_port=$2
-
-cert_file="$key_prefix.crt"
-key_file="$key_prefix.key"
-
-if [[ ! -r "$cert_file" ]]; then
- echo "$cert_file is not readable"
- exit 2
-fi
-
-if [[ ! -r "$key_file" ]]; then
- echo "$key_file is not readable"
- exit 2
-fi
-
-openssl s_client -connect $host_and_port -cert "$cert_file" -key "$key_file" -CAfile onap.crt
-