CA Root Certificate to save to server.ca for Admins

Version 1.441

Feature
Finished

When logged in as an Admin that uses the Server IP, the CA Root Certificate page in DA was saving the CA to: /usr/local/directadmin/data/users/username/admin/domains/domain.com.cacert This change will let that GUI page save to: /etc/httpd/conf/ssl.crt/server.ca The files: /etc/httpd/conf/extra/httpd-vhosts.conf /etc/nginx/conf/nginx.conf will also have lined added in CustomBuild 2.0, pointing to this server.ca by default, so a file must exist there. The ./build rewrite_confs in CB2 will automatically download this file, if it doesn't exist: http://files.directadmin.com/services/all/ssl/server.ca which is a generic bundle for the major SSL authorities (it may even work as a CA for a purchased cert, but probably won't) The main purpose of this file/download is so that apache has something to use, so it starts up. The ips_virtual_host.conf and nginx_ips.conf will already set the server.ca if set, as per: http://www.directadmin.com/features.php?id=1350

Interested to try DirectAdmin? Get a 30-day Free Trial!