首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Boxfuse中发出根证书

在Boxfuse中发出根证书
EN

Stack Overflow用户
提问于 2016-06-15 21:19:19
回答 1查看 95关注 0票数 1

我们的服务与几个AWS服务(如KMS )进行通信。每当我们的服务试图调用这些AWS服务之一时,部署我们的Boxfuse AMI就会导致日志中的这个错误:

代码语言:javascript
复制
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包含一个应该涵盖这一问题的仙人掌文件,因此我尝试将仙人掌文件复制到/src/main/resources,如Box引信文档中所述:

代码语言:javascript
复制
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.

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

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-06-16 15:10:10

最新发布的Box引信版本解决了我的问题。谢谢大家!

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37845958

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档