The mzsh keytool enable-tls command from the Enable One-way SSL On RCP section will automatically configure the properties listed below in the Platform container, except property pico.rcp.tls.require_clientauth. You can also manually change the value of these properties.
Do a mzsh topo open container to view the platform container.conf.
Info
Quotes and double quotes surrounding the target path and property names are required for some properties to prevent overwriting. For further information, see Working with STR.
pico.rcp.tls.keystore
This property is to set the keystore file path. If this property is not set, TLS will not be used.
$ mzsh topo set 'topo://container:<container>/val:common."pico.rcp.tls.keystore"' <keystore path>
Example command:
Code Block
language
text
$ mzsh topo set 'topo://container:platform/val:common."pico.rcp.tls.keystore"' $MZ_HOME/keys/keystore.p12
Info
Note: Full Path to the keystore file is required.
pico.rcp.tls.keystore.alias
Use this property if the keystore contains multiple private keys. RCP will prefer to use the key with this keystore alias. If it is not set and the keystore contains more than one private key, it is undefined which key is used.
Example value in container.conf:
Code Block
"pico.rcp.tls.keystore.alias"=platform
To set this property manually, run this command:
Code Block
language
text
$ mzsh topo set 'topo://container:<container>/val:common."pico.rcp.tls.keystore.alias"' <alias>
Example command:
Code Block
language
text
$ mzsh topo set 'topo://container:platform/val:common."pico.rcp.tls.keystore.alias"' platform
pico.rcp.tls.keystore.password
Use this property to set the keystore password, which is the password we entered while creating keystore.
$ mzsh topo set 'topo://container:<container>/val:common."pico.rcp.tls.keystore.password"' \
`mzsh encryptpassword <password>`
Example command:
Code Block
language
text
$ mzsh topo set 'topo://container:platform/val:common."pico.rcp.tls.keystore.password"' \
`mzsh encryptpassword dr`
pico.rcp.tls.key.password
Use this property to set password for the key, as chosen in keytool. By default this is the same as the keystore password. (This is the default for keytool).