use of com.vmware.photon.controller.model.security.ssl.X509TrustManagerResolver in project photon-model by vmware.
the class ResolveCertificateUtil method resolveTrusted.
@Test
public void resolveTrusted() {
X509TrustManagerResolver resolver = CertificateUtil.resolveCertificate(URI.create("https://www.verisign.com/"), 5000);
assertTrue(resolver.isCertsTrusted());
assertNotNull(resolver.getCertificate());
assertNull(resolver.getCertificateException());
}
Aggregations