如何在ColdFusion 10的cfhttp标签中添加TLS 1.2 [英] How to add TLS 1.2 in cfhttp tag in ColdFusion 10
问题描述
我正在使用ColdFusion10。如何指定我的连接是TLS 1.1,TLS 1.0等。我可以使用 cfhttp
标签吗?
I am using ColdFusion 10. How can I specify my connection is TLS 1.1, TLS 1.0, etc. Can I use the cfhttp
tag?
如何使用ColdFusion在 cfhttp
标记中添加TLS 1.2?
How to add TLS 1.2 in cfhttp
tag using ColdFusion?
推荐答案
ColdFusion 10将使用CFHTTP处理TLS 1.2协议,只要您在Java 1.8.0_nn上运行Coldfusion,就不会出现任何问题。您需要升级Java版本。另请参阅我写的这篇文章,介绍每种ColdFusion / Java版本组合可使用哪些SSL / TLS协议。
ColdFusion 10 will handle the TLS 1.2 protocol using CFHTTP without any issues as long as you are running Coldfusion on Java 1.8.0_nn. You need to upgrade your Java version. Also see this article I wrote on which SSL/TLS protocols are usable for each ColdFusion/Java version combinations.
https://www.trunkful.com/index.cfm/2014/12/8/Preventing-SSLv3-Fallback-in-ColdFusion
要安装新的Java版本,我总是将JDK安装在仅用于ColdFusion的非默认位置。即C:\java\jdk1.8.0_nn\这样,您知道它是针对ColdFusion而不是操作系统。当然,如果您使用的是Linux,则位置会有所不同,但是您已经知道了。
To install a new Java version I always install the JDK in a non-default location that is only used for ColdFusion. ie C:\java\jdk1.8.0_nn\ This way you know it's for ColdFusion and not for the OS. Of course if you're on Linux then the location would be different, but you'd know that already.
致谢,
Wil
Regards, Wil
这篇关于如何在ColdFusion 10的cfhttp标签中添加TLS 1.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!