#!/bin/sh CERT=$1 # gives info in a pkcs12 certificate openssl pkcs12 -info -in $CERT -noout