fixed ssl configuration when using fqdn search