简体   繁体   English

如何在Apigee中签署SOAP请求

[英]How to sign SOAP request in Apigee

Does anyone know how to sign a SOAP envelope with X.509 certificate in Apigee? 有谁知道如何在Apigee中用X.509证书签名SOAP信封? I need to add a new webservice to Apigee Proxy. 我需要向Apigee Proxy添加新的Web服务。 However this service is secured by SSL. 但是,此服务受SSL保护。 I tried with http://apigee.com/docs/api-services/content/client-ssl-backend-servers however is doesn't work form me. 我尝试使用http://apigee.com/docs/api-services/content/client-ssl-backend-servers,但对我来说不起作用。 I've added certificate to Apigee. 我已将证书添加到Apigee。 And I can see it Apigee 我可以看到它Apigee

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

I've also assigned this certificate to my TargetEndpoint 我还将此证书分配给了TargetEndpoint

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

But it doesn't work. 但这是行不通的。 Is there any way to force Apigee to sign a SOAP request? 有什么方法可以强迫Apigee签署SOAP请求? Any help would be appreciated. 任何帮助,将不胜感激。

Regards, Tom 问候,汤姆

There is no out-of-box way to sign soap requests. 没有开箱即用的方式来签署肥皂请求。 Need to use javacallouts or scripting to do so. 需要使用javacallouts或脚本来这样做。 The use of keystore is to validate target backend server SSL. 密钥库的使用是为了验证目标后端服务器SSL。 This is entirely a different thing and not related to soap request signing. 这是完全不同的事情,与肥皂请求签名无关。 Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM