[英]xmlhttprequest: network error 0x800c0019, security certificate required to access this resource is invalid. WINJS
Good morning, 早上好,
I need to access a https web service, try to make a GET using JQUERY, WINjs.xhr, Windows.Web.Http.HttpClient, .ajax (). 我需要访问https Web服务,尝试使用JQUERY,WINjs.xhr,Windows.Web.Http.HttpClient,.ajax()进行GET。
I download the certificate .cer and add in the package.appxmanifest. 我下载证书.cer并添加到package.appxmanifest中。 But when I do the call to service I get the following error:
但是,当我拨打服务电话时,出现以下错误:
xmlhttprequest: Error 0x800c0019 network, security certificate required to access this resource is invalid. xmlhttprequest:网络错误0x800c0019,访问此资源所需的安全证书无效。
I've tried everything, and it implosible for me. 我已经尝试了一切,这对我来说是不可能的。
Did you try to make a GET request on the main web service domain before others types of request ? 您是否尝试过在其他类型的请求之前先在主Web服务域上发出GET请求?
Bevause It worked for me. Bevause它为我工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.