132.9. 证书依赖项
如果您使用基于证书的身份验证,则需要添加一些额外的运行时依赖项。根据您使用的 Camel 版本,您可能需要使用更新的版本。
组件使用 sshd-core 库,该库基于 bouncycastle 或 eddsa 安全提供程序。camel-ssh 被明确 选择为 安全供应商。
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpg-jdk18on</artifactId>
<version>1.71</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
<version>1.71</version>
</dependency>