1*ebfedea0SLionel Sambuc#!/bin/sh 2*ebfedea0SLionel Sambuc# 3*ebfedea0SLionel Sambuc# print the subject 4*ebfedea0SLionel Sambuc# 5*ebfedea0SLionel Sambuc 6*ebfedea0SLionel Sambucfor i in $* 7*ebfedea0SLionel Sambucdo 8*ebfedea0SLionel Sambuc n=`openssl x509 -subject -noout -in $i` 9*ebfedea0SLionel Sambuc echo "$i $n" 10*ebfedea0SLionel Sambucdone 11