Skip to content

Commit

Permalink
Merge pull request #24847 from lisa-lthorrold/ssl_parameter_fix
Browse files Browse the repository at this point in the history
SSL Configurator fix - CertificateRequest not being made in SSL mutual authentication
  • Loading branch information
dmatej committed Mar 9, 2024
2 parents af94219 + baace13 commit 52e6b5b
Showing 1 changed file with 7 additions and 2 deletions.
Expand Up @@ -78,8 +78,13 @@ public SSLConfigurator(final ServiceLocator serviceLocator, final Ssl ssl) {

sslImplementation = sslImplementationLocal;

setNeedClientAuth(isNeedClientAuth(ssl));
setWantClientAuth(isWantClientAuth(ssl));
if (isWantClientAuth(ssl)) {
setWantClientAuth(true);
}

if (isNeedClientAuth(ssl)) {
setNeedClientAuth(true);
}

clientMode = false;
sslContextConfiguration = new InternalSSLContextConfigurator();
Expand Down

0 comments on commit 52e6b5b

Please sign in to comment.