Railo CFHTTP SSL trustAnchors 参数必须非空
我尝试使用 Railo 3.3 发出 CFHTTP 调用(通过 SSL),但收到以下错误:
Unknown host: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
我尝试通过 ssl 对常见网站进行最基本的调用,但收到相同的错误。这是我的代码,
<cfhttp url="https://www.google.com/" method="get">
</cfhttp>
<cfdump var="#cfhttp#">
它显然与 SSL 有关。如果您取出 https 并将其替换为 http,则调用可以正常工作。
此外,此调用(无论是 http 还是 https)在 Adobe ColdFusion 9 上运行良好
。任何帮助将不胜感激。
这是我的服务器配置:
- Windows Server 2008 R2
- IIS 7.5
- Railo 3.3
I'm trying to issue a CFHTTP Call (via SSL) with Railo 3.3 and am receiving the following error:
Unknown host: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
I tried the most basic call to a common website over ssl and get the same error. Here is my code
<cfhttp url="https://www.google.com/" method="get">
</cfhttp>
<cfdump var="#cfhttp#">
It clearly has to do with the SSL. If you take out the https and replace it with http, the call works just fine.
Furthermore, this call (be it http or https) works fine on Adobe ColdFusion 9.
Any help would be appreciated.
Here's my server config:
- Windows Server 2008 R2
- IIS 7.5
- Railo 3.3
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请尝试以下操作:
http://yourdomain/railo-context/admin/server.cfm
登录 Railo Server AdministratorSSL 证书
www.google.com
)并单击列表(以确保您可以看到该证书),Try the following:
http://yourdomain/railo-context/admin/server.cfm
SSL Certificates
www.google.com
) and click list (to make sure you can see the certificate)