File tree Expand file tree Collapse file tree
connectors/mongodb-connector Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 <properties >
1515 <java .version>8</java .version>
1616 <tapdata .pdk.api.version>2.0.7-SNAPSHOT</tapdata .pdk.api.version>
17+ <bouncycastle .version>1.84</bouncycastle .version>
1718 </properties >
1819 <dependencies >
1920 <dependency >
6566 <version >2.12.6.1</version >
6667 <scope >compile</scope >
6768 </dependency >
69+ <!--
70+ BC must NOT be fat-jarred into the connector.
71+ jar-with-dependencies unpacks classes and drops JCE jar signatures, which causes:
72+ "JCE cannot authenticate the provider BC" when SSLUtil registers BC as a JCE provider.
73+ Scope provided: compile/test still resolve BC; runtime comes from the engine/TM parent
74+ classloader, where spring-boot requiresUnpack keeps the signed bcprov/bcpkix jars.
75+ Version must stay aligned with iengine org.bouncycastle.version.
76+ -->
6877 <dependency >
6978 <groupId >org.bouncycastle</groupId >
70- <artifactId >bcprov-jdk15on</artifactId >
71- <version >1.60</version >
79+ <artifactId >bcprov-jdk18on</artifactId >
80+ <version >${bouncycastle.version} </version >
81+ <scope >provided</scope >
7282 </dependency >
7383 <dependency >
7484 <groupId >org.bouncycastle</groupId >
75- <artifactId >bcpkix-jdk15on </artifactId >
76- <version >1.60 </version >
77- <scope >compile </scope >
85+ <artifactId >bcpkix-jdk18on </artifactId >
86+ <version >${bouncycastle.version} </version >
87+ <scope >provided </scope >
7888 </dependency >
7989
8090 <dependency >
You can’t perform that action at this time.
0 commit comments