Restored certs to fill snidomains and dovecot sni configs

Version 1.63.0


1) The snidomains was only filled if a cert was saved through DA. The restore process did not fill the snidomains file if the cert/key were valid. 2) The action=rewrite&value=snidomains task.queue call was using a relative path to cert/keys, relative to /usr/local/directadmin, eg: ssl_cert = <./data/users/fred/domains/ 3) and was also NOT the intended path. Fixed to be: ssl_cert = </usr/local/directadmin/data/users/fred/domains/ The change will also create the if it was missing. So the task.queue call below is one way to add any missing files. --------- WORKAROUND: To rebuild the /etc/virtual/snidomains, and all dovecot sni configs, run: cd /usr/local/directadmin echo "action=rewrite&value=snidomains" >> data/task.queue; ./dataskq d1245 ---- T35711

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