The mzsh keytool enable-tls command from the Enable One-way SSL On HTTP section will automatically configure the properties listed below in the Platform container. 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.
mz.httpd.security
This property is set to true (default value is false) to enable encryption.
Example value in container.conf:
Code Block
"mz.httpd.security"=true
To set this property manually, run this command:
Code Block
language
text
$ mzsh topo set 'topo://container:<container>/val:common."mz.httpd.security"' true
mz.httpd.security.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."mz.httpd.security.keystore.password"' \
`mzsh encryptpassword <password>`
mz.httpd.security.key.password
Use this property to set the password for the key, as chosen in keytool. By default, this is the same as the keystore password. (This is the default for keytool).