summaryrefslogtreecommitdiffstats
path: root/domain2curlpub
diff options
context:
space:
mode:
Diffstat (limited to 'domain2curlpub')
-rwxr-xr-xdomain2curlpub3
1 files changed, 3 insertions, 0 deletions
diff --git a/domain2curlpub b/domain2curlpub
new file mode 100755
index 0000000..bc4ff6f
--- /dev/null
+++ b/domain2curlpub
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+openssl s_client -connect $1:443 2>&1 < /dev/null | cert2curlpub