Skip to content

Commit

Permalink
update certificate CN name
Browse files Browse the repository at this point in the history
update certificate CN name
  • Loading branch information
ruchirvaninasdaq committed Jan 5, 2021
1 parent d1d87d7 commit dbc49fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit dbc49fb

Please sign in to comment.