SSLCACertificateFile in VH's in ips.conf

Version 1.411

Feature
Finished

A new directadmin.conf option (internal by default): apacheca=/etc/httpd/conf/ssl.crt/server.ca to work with the other 2 existing options: apachecert=/etc/httpd/conf/ssl.crt/server.crt apachekey=/etc/httpd/conf/ssl.key/server.key The above server.ca path is the default internal value. If apacheca is not in the directadmin.conf, the above server.ca path will be used. If the path that apacheca is set to exists and is more than 0 bytes, the ips.conf will then be written with: SSLCACertificateFile /etc/httpd/conf/ssl.crt/server.ca to allow shared IPs to have a CA certifaite/chain. The template has changed: /usr/local/directadmin/data/templates/ips_virtual_host.conf at the top: |?CACERT_LINE=| |*if CACERT!=""| |?CACERT_LINE=SSLCACertificateFile `CACERT`| |*endif| and in the SSL VH: SSLEngine on SSLCertificateFile |CERT| SSLCertificateKeyFile |KEY| |CACERT_LINE| To rewrite your ips.conf, type: cd /usr/local/directadmin echo "action=rewrite&value=ips" >> data/task.queue && ./dataskq d200

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