fixed ssl certificate handling
fixed vhost registration