Restored certs to fill snidomains and dovecot sni configs

Version 1.63.0

Bugfix
Finished

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/fred.com.cert 3) and was also NOT the intended fred.com.cert.combined path. Fixed to be: ssl_cert = </usr/local/directadmin/data/users/fred/domains/fred.com.cert.combined The change will also create the domain.com.cert.combined if it was missing. So the task.queue call below is one way to add any missing domain.com.cert.combined 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!