Creating a Keystore Provider Resource Template

A keystore provider resource instance provides a reference to the keystore that contains the keypair required to invoke the secured web service. You will create a keystore provider resource template, and then a corresponding resource instance will be created automatically when you redeploy the BPM application.

Procedure

  1. Log into the Administrator interface in the BPM runtime.
  2. Click Shared Objects > Resource Templates.

    Click New (). The Add Resource Template dialog is displayed.

  3. In the Type field, select Keystore Provider.
  4. In the Name field, enter a suitable name for this resource template - for example, bsKeystoreRT.
  5. Set the Scope of the template by moving the slider to the far right, above Application. Select your BPM environment (for example, BPMEnvironment) from the Environment dropdown, and then select the name of your BPM application instance (for example, amx.bpm.app) in the Application dropdown.
  6. Edit the following properties:
    • Keystore Served From: Identify the keystore that contains the credentials needed to access the external web service. You can either upload the keystore to be served from the Administrator interface in the BPM runtime; or you can enter the external location of the keystore, either as a URL or as a pathname to a file.
      Note: If you specify a pathname, it must be to a file that exists locally, on the same server as the runtime environment.
    • Password: Enter the password needed to access the keystore.
    • Type: Select JKS (for Java Keystore).
    • Provider: Clear this field and leave it blank.
  7. Click Save. The new resource template is added to the list of resource templates.