lox*_*lox 11 encryption web-services certificate soapui
我有一个Web服务的WSDL和一个.cer文件形状的公钥证书.
我需要让SoapUI使用证书的公钥加密服务请求.
我该怎么做呢?
Eru*_*rup -2
如果您可以使用 WCF,只需向绑定添加安全性以及以下行为:
<behaviors>
<behavior>
<clientCredentials>
<clientCertificate findValue= "101010101010101010101010101010000000000"
storeLocation="LocalMachine" storeName="The logic storage"
X509FindType="The cert name"/>
</clientCertificate>
</clientCredentials>
</behavior>
</behaviors>
Run Code Online (Sandbox Code Playgroud)
有关如何在 WCF 中启用安全性的更多信息,请参阅:MSDN