Skip to content

Commit

Permalink
Fix the mTLS HTTP2 failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhashinee committed Oct 9, 2023
1 parent ea0964b commit f99b461
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,9 @@ public SslContext createHttp2TLSContextForClient(boolean enableOcsp) throws SSLE
} else {
sslContextBuilder = clientContextBuilderWithCerts(provider);
}
if (sslConfig.getClientKeyFile() != null) {
sslContextBuilder = clientContextBuilderWithCerts(provider);
}
setCiphers(sslContextBuilder, ciphers);
setSslProtocol(sslContextBuilder);
setAlpnConfigs(sslContextBuilder);
Expand Down

0 comments on commit f99b461

Please sign in to comment.