Welcome Guest! Log in
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.


Passwords, mostly configured in Metadata by users, are encrypted to not appear in clear in the delivery files or in the logs for instance.

The key used by a Stambia DI Runtime to encrypt or decrypt passwords can be customized in configuration files.

This article demonstrates how to configure the Stambia DI Runtime to change it.

Prerequisites:

  • Stambia DI Runtime S17.5.7 or higher

 

About the keys

The custom key that will be used to replace the default one must be placed inside a Java keystore.

The keystore must then be specified in the Stambia DI Runtime as explained in the following article.

Changing the key for password cyphering will then be as simple as defining which of the specified key should be used for that.

 

Configuration

When the keystores are defined, simply uncomment the following parameter to customize the key used for password cyphering.

The value should correspond to the "name" of a key defined under a keystore node.

<parameters>
    <...>
    <engineParameters>
        <...>
        <parameter name="passwordCipheringKeyName" value="runtimekey"/>
        <...>
    </engineParameters>
    <..>
</parameters>

 

Example of corresponding keystore configuration:

<keystores>
    <keystore path="D:/keystores/keystore.jks" password="password" type="JKS">
        <key name="runtimekey" alias="key01" password="password"/>     
    </keystore>
</keystores>

 

Limitations

At the moment the key can be changed in Stambia DI Runtime only.

Stambia DI Designer and Stambia DI Production Analytics does not support yet generating deliveries using a custom key.

When the password cyphering key is changed in the Stambia DI Runtime, you must produce your deliveries using the builddelivery.bat / builddelivery.sh scripts.

The idea is to generate the package from the Stambia Di Designer, extract the configuration with the builddelivery.bat / builddelivery.sh scripts, specify the newly encrypted password in, and build the delivery with this configuration.

To generate the newly encrypted password, connect to the Stambia DI Runtime and use the "encrypt" command (see the reference documentation for further information about using commands in the Stambia DI Runtime.)

 

You have no rights to post comments

Articles

Suggest a new Article!