set up dirs for chroot  and enable SSL support