开发者

webservice over HTTPS with self-signed cert in ColdFusion?

开发者 https://www.devze.com 2023-01-17 07:45 出处:网络
How to enable webservice call over HTTPS with self-signed cert in ColdFusion 9? According to the doc, <cfhttp> should work, but how about <cfinvoke>?

How to enable webservice call over HTTPS with self-signed cert in ColdFusion 9?

According to the doc, <cfhttp> should work, but how about <cfinvoke>?

If I use cfhttp, do I still need to install the cert as outlined here? http://kb2.adobe.co开发者_运维知识库m/cps/400/kb400977.html

I tried simply using https in cfinvoke, I got SSLPeerUnverifiedException: peer not authenticated exception.

Thanks


If I use cfhttp, do I still need to install the cert as outlined here? http://kb2.adobe.com/cps/400/kb400977.html

Yes.

For secure connections to remote servers over SSL, all current versions of ColdFusion require the remote system's SSL certificate to exist in ColdFusion's certificate truststore.

That would include both cfhttp and cfinvoke.

Simply put, there is no way around importing the certificate into the truststore when it is self-signed.

0

精彩评论

暂无评论...
验证码 换一张
取 消