Search code examples
mulesoapuix509certificateclient-certificates

How to create a SoapUI project with client certificate authentication


I have X509 certificate implementation in one of my projects and i want to use Client certificate while consuming it from SoapUI. I got some solution here but it applies the same certificate for all the invocations from SoapUI. what if I have different certificates for different services that I invoke? How can I add the client certificate in my SOAP request itself?


Solution

  • You can add as many trutstore or keystore based on the requirement.Double click on the name of the project-> Go to WS-Security Config. Please find few useful urls

    http://pglezen.github.io/was-config/html/soapui.html ( Check config SOAP UI)

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

    Based on the SOAPUI version. Truststore and Keystore tab will vary. But all with the same configuration.