fixed bug in paths for ssl_key and ssl_cert in templates