Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When configuring a Keystore, you need to update the WSO2 Carbon configuration related files (e.g., carbon.xml, catalina-server.xml etc.), which are common to all WSO2 products. For more information, see Configuring Keystores in WSO2 Products.

Step 4 - Update the WSO2 ES

...

configuration files

Update the following When creating Keystores, you need to update specific WSO2 ES related configuration files configurations to authenticate the Publisher and the Store.

  1. Update the publisher.json file, which is in the <ES_HOME>/repository/deployment/server/jaggeryapps/publisher/config directory.

    You need to update this file in order to authenticate the Store successfully. You can not log into the Publisher if the following configurations are not carried out. The identityAlias should be the alias that you used when importing the PEM details of your key to the client-trustore.jks.

    Code Block
    "authentication": {
            "activeMethod": "sso",
            "methods": {
                "sso": {
                    "attributes": {
                        "issuer": "publisher",
                        "identityProviderURL": "%https.carbon.local.ip%/samlsso",
    "identityAlias": "mynewcert",                    "responseSigningEnabled": "true",
                        "acs": "%https.host%/publisher/acs",
                        "identityAlias": "mynewcert",
                        "useTenantKey": false
                    }
                },
  2. Update the store.json file, which is in the <ES_HOME>/repository/deployment/server/jaggeryapps/store/config directory.

    You need to update this file in order to authenticate the Publisher  successfully. You can not log into the Store if the following configurations are not carried out. The identityAlias should be the alias that you used when importing the PEM details of your key to the client-trustore.jks.

    Code Block
        "authentication": {
            "activeMethod": "sso",
            "methods": {
                "sso": {
                    "attributes": {
                        "issuer": "store",
                        "identityProviderURL": "%https.carbon.local.ip%/samlsso", "identityAlias": "mynewcert",
                        "responseSigningEnabled": "true",
                        "acs": "%https.host%/store/acs",
                        "identityAlias": "mynewcert",
                        "useTenantKey": false
                    }
                },

Now, the Keystore is installed into WSO2 Enterprise Store.