Question
swift
MY
Last activity: 30 Dec 2025 2:18 EST
Pega stream keystore and trustore password
Hello,
Currently in prconfig.xml we have these password hardcoded for the stream.
<env name="services/stream/encryption/security/protocol" value="SSL"/>
<env name="services/stream/encryption/truststore/path" value="/opt/pega/certs/pega-cs.p12"/>
<env name="services/stream/encryption/truststore/password" value="XXX"/>
<env name="services/stream/encryption/keystore/path" value="/opt/pega/certs/pega-cs.p12"/>
<env name="services/stream/encryption/keystore/password" value="XXX"/>
Now, for security reason, we wanted to dynamically change password value. we have tried with environment variable, but it's not able to read.
<env name="services/stream/encryption/security/protocol" value="SSL"/>
<env name="services/stream/encryption/truststore/path" value="/opt/pega/certs/pega-cs.p12"/>
<env name="services/stream/encryption/truststore/password" value="{KEYSTORE_PASSWORD}"/>
<env name="services/stream/encryption/keystore/path" value="/opt/pega/certs/pega-cs.p12"/>
<env name="services/stream/encryption/keystore/password" value="{KEYSTORE_PASSWORD}"/>
can you please advise how we can dynamically change the password value?