We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e17ee5 commit 3dd349cCopy full SHA for 3dd349c
1 file changed
src/main/java/com/databricks/jdbc/dbclient/impl/common/ConfiguratorUtils.java
@@ -49,6 +49,12 @@ private static boolean isJDBCTestEnv() {
49
public static PoolingHttpClientConnectionManager getBaseConnectionManager(
50
IDatabricksConnectionContext connectionContext) throws DatabricksHttpException {
51
52
+ if (connectionContext.getSSLTrustStore() == null
53
+ && connectionContext.checkCertificateRevocation()
54
+ && !connectionContext.acceptUndeterminedCertificateRevocation()) {
55
+ return new PoolingHttpClientConnectionManager();
56
+ }
57
+
58
// For test environments, use a trust-all socket factory
59
if (isJDBCTestEnv()) {
60
LOGGER.info("Using trust-all socket factory for JDBC test environment");
0 commit comments