[Webapp Secure/Mykonos] How to factory reset Webapp Secure

  [KB28841] Show Article Properties


Summary:
The KB provides the steps to factory reset the Webapp Secure (JWAS) device/VM
Symptoms:
Need to delete all config/factory reset to default config
Cause:

Solution:
To factory reset the webapp secure, login to the device/VM through console or SSH and enter the shell through the command “sudo mykonos-shell” and run the command “config init”.

Before executing the reinitialization, it is important to backup the session encryption key and session initialization vector values and reconfigure those values, otherwise it could trigger false positives "Session ETag Spoofing" and "Session Cookie Spoofing" incidents

Example:
> config init
------------------------------------------------------------------------------
WARNING
------------------------------------------------------------------------------
It is recommended that you run the following commands after initialization has
run. This will make sure that the system continues to accurately identify live
sessions.

set engine.session.encryption_key YGvfeYwUDyIy4qlW
set engine.session.initialization_vector Zi9BWTmAqlCfORb6


300 parameters changed
>

NOTE: The encryption key and initialization vector values will be specific and different on each webapp Secure device/VM

Related Links: