web-services - 如何在 Apigee 中签署 SOAP 请求

标签 web-services ssl soap apigee x509

有谁知道如何在 Apigee 中使用 X.509 证书签署 SOAP 信封?我需要向 Apigee Proxy 添加新的网络服务。但是,此服务受 SSL 保护。我试过 http://apigee.com/docs/api-services/content/client-ssl-backend-servers然而这对我不起作用。我已将证书添加到 Apigee。我可以看到它 Apigee

myCertKeystore
{
  "certs" : [ "myCert.crt.pem" ],
  "keys" : [ "myCert" ],
  "name" : "myCertKeystore"
}

我还将此证书分配给了我的 TargetEndpoint

<HTTPTargetConnection>
    <SSLInfo>
        <Enabled>true</Enabled>
        <ClientAuthEnabled>true</ClientAuthEnabled>
        <KeyStore>myCertKeystore</KeyStore>
        <KeyAlias>myCert</KeyAlias>
    </SSLInfo>
    <URL>https://mywebsercive.url/xxx</URL>
</HTTPTargetConnection>

但它不起作用。有没有办法强制 Apigee 签署 SOAP 请求? 任何帮助将不胜感激。

问候, 汤姆

最佳答案

没有开箱即用的方法来签署 soap 请求。需要使用 javacallouts 或脚本来这样做。 keystore 的用途是验证目标后端服务器 SSL。这完全是另一回事,与 soap 请求签名无关。希望这可以帮助。

关于web-services - 如何在 Apigee 中签署 SOAP 请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23696519/

相关文章:

ios - swift 中的 MVC 结构

java - Web 服务客户端和 SSL

node.js - 开类 Node .js : do I need to load ssl certificates in the web console or in the application?

amazon-web-services - 在 Amazon EC2 服务器上获取 SSL/TLS 证书

php SoapClient 执行soap请求时出现错误 "Cannot assign requested address"

xml - 带有 SOAP 的 golang

java - 生成返回 png 文件的 Java Web 服务

tomcat - 如何在Java webapp中确保仅SSL访问而无需授权?

rest - 什么时候 SOAP 比 REST 更有意义?

java - Web 服务响应超时?