Configuring a keystore by using a URL reference
To configure a keystore, you can reference a keystore file that contains public keys from a URL address.
You must complete the following tasks before you can
configure a keystore:
- Do Creating a keystore.
- Ensure that the URL is accessible. If the required HTTPS certificate is not in the cacerts keystore or an equivalent application server-level truststore, you must import the certificate into the cacerts keystore or equivalent application server-level truststore, and restart the server.
- Open a keystore from the Explorer panel by clicking and selecting a URL reference keystore from the instance list.
-
In the Keystore url field, enter the URL address of the
keystore file, for example:
https://www.pegasystems.com/prweb/PRRestService/keys/v1/jwt/JWTGenerationProfile
. - In the Keystore type list, click JSON Web Key (JWK).
-
Select the refresh strategy for your keystore.
- Reload once per interaction – Disable caching of the keystore file. Choose this if the keystore might change unexpectedly.
- Cache keystore (default) – Cache the keystore, with the caching time set to 3600 seconds. You can override the caching time in the Reload after field.
- Click Save.