Using SSL in JavaScript HTTP Adapter
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.
- Set the URL protocol of the HTTP adapter to https in the adapter.xml file.
- Store SSL certificates in the PMF keystore. See Configuring the PMF keystore.
SSL with mutual authentication
If you use SSL with mutual authentication, you must also perform the following steps:
- Generate your own private key for the HTTP adapter or use one provided by a trusted authority.
- If you generated your own private key, export the public certificate of the generated private key and import it into the back-end truststore.
- Define an alias and password for the private key in the
connectionPolicy
element of the adapter.xml file.
Last modified on