Forum Discussion

maarten's avatar
maarten
Occasional Contributor
13 years ago

How to configure two MockServices, each with own keystore?

I have a project with two MockServices.
I can successfully create the two services without SSL.
What do I have to configure to have each of the MockServices work with its own keystore?

- soapUI Preferences > SSL Settings: what fields have to be filled, there are only fields for 1 Mock Key- and TrustStore here?
- Project Window > WS-Security Configurations: what to fill where here?
- MockService Properties > Incoming WSS: if the fields in the Project Window are filled what to choose for this field?

Also, is it possible to use two different ports?

I would really appreciate a tutorial of how to set something like this up.

5 Replies

  • Hi!

    First of all, what do you want to use the keystores for? Just SSL or WS-Security?

    --
    Regards

    Erik
    SmartBear Sweden
  • Hi,

    Unfortunately you can currently only have one SSL Keystore configured for MockServices (configured in the global SSL Settings tab) - the WSS-Settings are not applicable to SSL Security of MockServices.

    regards,

    /Ole
    SmartBear Software
  • maarten's avatar
    maarten
    Occasional Contributor
    Thank you for the response, just two more questions:

    - If the WSS settings are not used then why can you choose Incoming WSS on the MockService Properties? Incoming WSS Configurations only refer to keystores.

    - Is this planned in the (near) future?

    This as having only one MockService (as we need each one to have its own keystore) possible renders soapUI useless for us.
  • Hi again!

    - Well, if you haven't created any Incoming WSS settings, you should just get a blank drop down when clicking the property on the MockService.

    - Um, what are you referring to here?

    Sorry I'm, not sure that I comprehend your last sentence. Could you reformulate this?

    And finally, if you are just concerned with using SSL, I don't quite get why you are bothered with the WSS settings. Could you elaborate on this?

    --
    Regards

    Erik
    SmartBear Sweden