如何使用客户端证书身份验证创建SoapUI项目

问题描述 投票:0回答:2

我在我的一个项目中有X509证书实现,我想在从SoapUI使用它时使用客户端证书。我得到了一些解决方案here但它为SoapUI的所有调用应用了相同的证书。如果我为不同的服务提供不同的证书怎么办?如何在SOAP请求本身中添加客户端证书?

mule soapui x509certificate client-certificates
2个回答
1
投票

您可以根据需要添加任意数量的trutstore或密钥库。双击项目名称 - >转到WS-Security Config。请找几个有用的网址

http://pglezen.github.io/was-config/html/soapui.html(检查配置SOAP UI)

https://www.soapui.org/blog/ws-security-settings.html

基于SOAPUI版本。 Truststore和Keystore选项卡会有所不同。但所有配置相同。


0
投票

请求级别的SSL设置可以通过以下方式完成:

  1. 双击项目名称
  2. 在“WS-Security Configurations”选项卡中,单击“Keystores”选项卡单击,然后在绿色“+”上添加密钥库:

enter image description here

  1. 输入密钥库位置和密码
  2. 单击“请求”
  3. 将请求属性“SSL密钥库”更改为步骤2-3中添加的属性:

enter image description here

  1. 您现在可以运行请求

资料来源:https://blogs.sap.com/2011/01/06/soap-ui-tool-soap-https-client-authentication/

© www.soinside.com 2019 - 2024. All rights reserved.