Boxfuse

时间:2016-06-15 21:19:19

标签: java amazon-web-services ssl dropwizard boxfuse

我们的服务与多个AWS服务(如KMS)进行通信。只要我们的服务试图呼叫其中一个AWS服务,部署我们的Boxfuse AMI就会在日志中出现此错误:

Unable to execute HTTP request: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
! java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

我相信我已经能够追溯到SSL问题(我们似乎缺少相应的根TLS证书)

我们通过将JRE复制到/ src / main / resources目录中来使用文档中描述的Oracle JRE。 JRE包含一个cacerts文件,应该包含这个,所以我尝试将cacerts文件复制到/ src / main / resources,如Boxfuse文档中所述:

You can, however, ship your own set of root certificates, by placing them in a KeyStore inside the Jar file as /cacerts. If you use Maven, this means your cacerts KeyStore file should be put into the src/main/resources directory.

但是,我仍然遇到同样的错误。有什么想法吗?

1 个答案:

答案 0 :(得分:1)

最新发布的Boxfuse版修复了我的问题。谢谢大家!

相关问题