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