Letsencrypt + nginx broken with ISPConf 3.1.1 due to "-le" suffix in .crt & .key symlinks
Hi,
after upgrading from stable 3.1 to stable 3.1.1 the LE SSL files are linked with a "-le" suffix to ${WEB_ROOT}/ssl. The apache Template reflects this correctly thanks to f90e18f6
Sadly the nginx vhost template does not yet reflect this change and tries to include $ssl_domain.crt and $ssl_domain.key which do not exist anymore.
In nginx_plugin.inc.php
$csr_file = $ssl_dir.'/'.$domain.'.csr'; $crt_file = $ssl_dir.'/'.$domain.'.crt';
And in nginx_vhost.master
ssl_certificate <tmpl_var name='document_root'>/ssl/<tmpl_var name='ssl_domain'>.crt; ssl_certificate_key <tmpl_var name='document_root'>/ssl/<tmpl_var name='ssl_domain'>.key;
As a hotfix, we are manually reverting the "-le" suffixing in nginx_plugin.inc.php
lines 1239 and following by commenting them out. But this is just a hotfix. If I looked correctly there are some bigger code changes in the master already. But as this totaly breaks nginx + LE I feel this has to be addressed more urgently.
Already tried to update to git-stable without any luck.
Best Regards,
Jan