Hi!
I am trying to get ISPConfig to add SSL information to the vsftpd config files, to automatically get FTPS enabled with the web's SSL certificates, if both SSL and FTP are enabled. I have everything working except for one little thing:
Can anyone tell me how I can get the filenames of the SSL certificate and key files at line 1992 of ispconfig/scripts/lib/config.lib.php (ISPConfig 2.2.13)?
I have tried
Code:
$crt_file = $document_root ."/ssl/". $hostname .".". $domainname .".crt";
and
Code:
$crt_file = $document_root ."/ssl/". $web["web_host"] .".". $web["web_domain"] .".crt";
but apparently $hostname, $domainname, $web["web_host"] and $web["web_domain"] are not defined here.
TIA
Recent comments
22 hours 31 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 15 hours ago
2 days 4 hours ago
2 days 5 hours ago