diff --git a/ncds-sdk/src/main/java/com/nasdaq/ncdsclient/internal/utils/InstallCertificates.java b/ncds-sdk/src/main/java/com/nasdaq/ncdsclient/internal/utils/InstallCertificates.java index 46f1f5a..f245853 100644 --- a/ncds-sdk/src/main/java/com/nasdaq/ncdsclient/internal/utils/InstallCertificates.java +++ b/ncds-sdk/src/main/java/com/nasdaq/ncdsclient/internal/utils/InstallCertificates.java @@ -129,7 +129,7 @@ private Certificate getAuthCertificate() throws IOException { con.connect(); Certificate[] certs = con.getServerCertificates(); for(Certificate cert : certs){ - if(((X509CertImpl) cert).getSubjectDN().getName().contains("keycloak")){ + if(((X509CertImpl) cert).getSubjectDN().getName().contains("GlobalSign Atlas R3 DV TLS")){ return cert; } }