我想直接从Angular调用受X509证书保护的SOAP服务。 任何客户端都需要通过有效的证书进行身份验证 安装在本地信任库中。
安装证书(https://www.globalsign.com/en-sg/blog/installing-certificates-onto-android-devices/)后可以执行此操作吗?
答案 0 :(得分:1)
It's not clear in your question if you need to sign a SOAP message or configure a SSL connection with client authentication. It is not possible in either case.
An SSL authentication with client certificates can not be done directly from an AJAX request. See Using jQuery's ajax() function with an SSL client certificate
A certificate from the browser keystore can not be used to sign a message from JavaScript. See https://stackoverflow.com/a/50208561/6371459
You will need to call an intermediate server that is responsible for making the soap call