Using SSL in JavaScript HTTP Adapter

improve this page | report issue


You can use SSL in an HTTP adapter with simple and mutual authentication to connect to back-end services.
SSL represents transport level security, which is independent of basic authentication. It is possible to do basic authentication either over HTTP or HTTPS.

  1. Set the URL protocol of the HTTP adapter to https in the adapter.xml file.
  2. Store SSL certificates in the MobileFirst Server keystore. See Configuring the MobileFirst Server keystore.

SSL with mutual authentication

If you use SSL with mutual authentication, you must also perform the following steps:

  1. Generate your own private key for the HTTP adapter or use one provided by a trusted authority.
  2. If you generated your own private key, export the public certificate of the generated private key and import it into the back-end truststore.
  3. Define an alias and password for the private key in the connectionPolicy element of the adapter.xml file.
Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on January 10, 2017