Versions Compared

Key

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

...

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.

...

Code Block
languagetext
$ mzsh topo set 'topo://container:<container>/val:common."mz.httpd.security"' true

Example command:

Code Block
languagetext
$ mzsh topo set 'topo://container:platform/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. 

...

Code Block
languagetext
$ mzsh topo set 'topo://container:<container>/val:common."mz.httpd.security.keystore"' <keystore path>

Example command:

Code Block
languagetext
$ mzsh topo set 'topo://container:platform/val:common."mz.httpd.security.keystore"' $MZ_HOME/keys/keystore.p12
Info

Note: Full Path to the keystore file is required.

mz.httpd.security.keystore.password

Use this property to set the keystore password, which is the password we entered while creating keystore.

...

Code Block
languagetext
$ mzsh topo set 'topo://container:<container>/val:common."mz.httpd.security.keystore.password"' \
`mzsh encryptpassword <password>`

Example command:

Code Block
languagetext
$ mzsh topo set 'topo://container:platform/val:common."mz.httpd.security.keystore.password"' \
`mzsh encryptpassword dr`

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).

...

Code Block
languagetext
$ mzsh topo set topo://container:<container>/val:common.mz.httpd.security.key.password \
`mzsh encryptpassword <password>`

Example command:

Code Block
languagetext
$ mzsh topo set topo://container:platform/val:common.mz.httpd.security.key.password \
`mzsh encryptpassword dr`
Note

Restart Required

After the configuration is done all affected processes need to be restarted. Use the following command:

Code Block
mzsh restart platform

The section contains the following subsections:

Scroll ignore
scroll-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-htmltrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue

Next:

5. Java Configuration