Do not use trust all but, create a TrustManager that uses info stored in TrustedSslDomainTable