Skip to content

Commit

Permalink
Use tlsCertRefreshCheckDurationSec instead of 0 for refresh value (ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljmarshall authored Apr 8, 2022
1 parent 6f41fde commit e398d7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ public static SslContextFactory createSslContextFactory(boolean tlsAllowInsecure
SslContextFactory sslCtxFactory = null;
if (autoRefresh) {
sslCtxFactory = new SslContextFactoryWithAutoRefresh(tlsAllowInsecureConnection, tlsTrustCertsFilePath,
tlsCertificateFilePath, tlsKeyFilePath, tlsRequireTrustedClientCertOnConnect, 0);
tlsCertificateFilePath, tlsKeyFilePath, tlsRequireTrustedClientCertOnConnect, certRefreshInSec);
} else {
sslCtxFactory = new SslContextFactory();
SSLContext sslCtx = createSslContext(tlsAllowInsecureConnection, tlsTrustCertsFilePath,
Expand Down

0 comments on commit e398d7e

Please sign in to comment.