fix pathes to certificate information and vhost config in call to template