Skip to content

Commit

Permalink
SSL Configurator fix causing CertificateRequests not being made in SS…
Browse files Browse the repository at this point in the history
…L mutual authentication
  • Loading branch information
lisa-lthorrold committed Mar 8, 2024
1 parent 5f9385e commit baace13
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
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 baace13

Please sign in to comment.