Securing mock services using X.509 certificates

Mock services in SoapUI can also support the HTTPS transport layer security, including the client certificate authentication seen in the previous recipe. This recipe builds on the previous two, showing how to enable the HTTPS transport layer security and client certificate authentication with SOAPDB MockService from chapter 3.

The actual steps should be pretty easy if you have followed the previous two recipes or are already comfortable using X.509 certificates.

Getting ready

We'll use the server.jks and client.jks keystores from the previous recipe and their passwords.

In terms of securing the mock service, we'll use a modified version of the SOAPMock-soapui-project.xml project from the chapter 3 sample ...

Get SoapUI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.