aboutsummaryrefslogtreecommitdiffstats
path: root/tools/c_name
diff options
context:
space:
mode:
Diffstat (limited to 'tools/c_name')
-rw-r--r--tools/c_name10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/c_name b/tools/c_name
new file mode 100644
index 0000000000..4b33e68c59
--- /dev/null
+++ b/tools/c_name
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# print the subject
+#
+
+for i in $*
+do
+ n=`ssleay x509 -subject -noout -in $i`
+ echo "$i $n"
+done