#!/bin/sh openssl x509 -inform DER -outform PEM -in "$1" -out $(dirname "$1")/"$(basename "$1" .cer)".pem