Add option to use template files as keys and certs.