在使用Apache Commons FTPSClient使用TLS1.2执行服务器验证时,我有以下代码。
"message": "Multiple representations of the same entity [com.aexp.grt.publisher.model.ExternalSource#163] are being merged. Detached: [com.aexp.grt.publisher.model.ExternalSource@fbc9a77]; Managed: [com.aexp.grt.publisher.model.ExternalSource@28ce510d]; nested exception is java.lang.IllegalStateException: Multiple representations of the same entity [com.aexp.grt.publisher.model.ExternalSource#163] are being merged. Detached: [com.aexp.grt.publisher.model.ExternalSource@fbc9a77]; Managed: [com.aexp.grt.publisher.model.ExternalSource@28ce510d]"
这按预期工作。 现在,我想在不需要密码的情况下介绍“客户端证书验证”,而身份验证完全由“客户端证书”完成。
如何使用Apache Commons FTPSClient进行配置?
我发现以下类似问题,但是可接受的答案与服务器证书验证完全相同。 How do I configure client authentication with generated certificate in apache-commons net