#!/bin/sh set -e set -u if [ "$#" -lt 1 ]; then echo >&2 "Usage: $0 [.. ..]" exit 1 fi cn="$1" shift new-key "$cn" new-csr "$cn" "$@" make-combined-crt "$cn" echo "Enable vhost and " echo " service apache2 reload"