使用jQuery的阿贾克斯()函数与SSL客户端证书 [英] Using jQuery's ajax() function with an SSL client certificate
本文介绍了使用jQuery的阿贾克斯()函数与SSL客户端证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要让使用阿贾克斯()
的jQuery功能XHR调用REST服务。基本上,这工作正常,但其余的服务只通过HTTPS访问,并要求客户端使用客户端证书进行身份验证。
I want to make a XHR call to a REST service using the ajax()
function of jQuery. Basically, this works fine, but the REST service is only accessible by https, and requires the client to authenticate using a client certificate.
我如何发送使用jQuery的阿贾克斯()的客户端证书
功能?
How do I send a client certificate using jQuery's ajax()
function?
推荐答案
这有可能使SSL ajax调用,如果请求的源和目标都在同一个域中,并使用https:的保护AJAX和放大器; SSL 。但你不能你的Ajax调用内作出SSL验证。
It's possible to make ssl ajax calls if the request source and target are in the same domain and using https: Securing AJAX & SSL. But you can't make an ssl authentication within your ajax call.
这篇关于使用jQuery的阿贾克斯()函数与SSL客户端证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文