gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-03 15:00:00 25 4
gpt4 key购买 nike

有谁知道如何在 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com