summaryrefslogtreecommitdiff
path: root/scripts/cert-retrieve.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cert-retrieve.sh')
-rwxr-xr-xscripts/cert-retrieve.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/cert-retrieve.sh b/scripts/cert-retrieve.sh
deleted file mode 100755
index 5440b0f8..00000000
--- a/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'