summaryrefslogtreecommitdiff
path: root/metadata/scripts/cert-retrieve.sh
diff options
context:
space:
mode:
Diffstat (limited to 'metadata/scripts/cert-retrieve.sh')
-rwxr-xr-xmetadata/scripts/cert-retrieve.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/metadata/scripts/cert-retrieve.sh b/metadata/scripts/cert-retrieve.sh
deleted file mode 100755
index 5440b0f8..00000000
--- a/metadata/scripts/cert-retrieve.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-# usage: retrieve-cert.sh remote.host.name [port]
-#
-REMHOST=$1
-REMPORT=${2:-443}
-
-echo | openssl s_client -connect ${REMHOST}:${REMPORT} 2>&1 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'