Configuring a proxy service to use HTTPS security
In this recipe, we will configure a proxy service to use transport-level security based on HTTPS. By that we can ensure that the communication between the consumer and the OSB service is encrypted, but the proxy service gets the message in plain text.
If message-level security is necessary, where the message itself is encrypted, a recipe such as Securing a proxy service by protecting the message covered in Chapter 11, Handling Message-level Security Requirements, should be considered.
Getting ready
Make sure the OSB server is configured to work with SSL by applying the previous recipe Preparing the OSB server to work with SSL.
Make sure the solution from the recipe Using service accounts with OSB for basic authentication is available in Eclipse OEPE. If not, import it from here: \chapter-12\solution\using-service-accounts-with-osb
. Make sure you import both the using-service-accounts-with-osb
and the using-service-accounts-with-osb-mockservice...