Let's encrypt certificate when alias websites found
short description
The option Let's encrypt when enabled on a website that have aliasdomains generate error.
correct behaviour
It should create correctly the certificate.
environment
Server OS: Ubuntu Server OS version: 16.04 ISPConfig version: 3.1.13
If it might be related to the problem
nginx version: nginx/1.14.0
PHP 7.0.32-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.32-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies
nginx -t
nginx: [emerg] BIO_new_file("/var/www/clients/client1/web2/ssl/domain.it.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/www/clients/client1/web2/ssl/domain.it.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf
Looks like ispconfig is creating a file domanin-le.ext.crt for the main website but inside the config file is looking for a crt file without the '-le'.
Thanks :)