diff --git a/changes/fix_sshj.md b/changes/fix_sshj.md new file mode 100644 index 000000000..6956887bc --- /dev/null +++ b/changes/fix_sshj.md @@ -0,0 +1 @@ +Explicitly include bouncycastle to clear SSL errors diff --git a/plugin-sftp/pom.xml b/plugin-sftp/pom.xml index c0d446d7e..25e9cb7b7 100644 --- a/plugin-sftp/pom.xml +++ b/plugin-sftp/pom.xml @@ -28,6 +28,16 @@ slf4j-jdk14 2.0.12 + + org.bouncycastle + bcprov-jdk18on + 1.75 + + + org.bouncycastle + bcpkix-jdk18on + 1.75 + com.fasterxml.jackson.core jackson-databind diff --git a/plugin-sftp/src/main/java/module-info.java b/plugin-sftp/src/main/java/module-info.java index 7fb78062f..44e6f1ae3 100644 --- a/plugin-sftp/src/main/java/module-info.java +++ b/plugin-sftp/src/main/java/module-info.java @@ -11,6 +11,9 @@ requires simpleclient; requires org.slf4j.jul; requires org.slf4j; + requires org.bouncycastle.util; + requires org.bouncycastle.provider; + requires org.bouncycastle.pkix; provides PluginFileType with SftpPluginType; diff --git a/shesmu-server/pom.xml b/shesmu-server/pom.xml index 02b5963c0..ae9c97127 100644 --- a/shesmu-server/pom.xml +++ b/shesmu-server/pom.xml @@ -109,6 +109,16 @@ io.github.bonigarcia webdrivermanager test + + + org.bouncycastle + bcprov-jdk15on + + + org.bouncycastle + bcpkix-jdk15on + + org.apache.commons