Oracle Commerce Tools and Frameworks uses a shared secret for secure communication. Oracle recommends changing the shared secret after installation.
To update the shared secret, you must run the
set_shared_secret
script and update the
webstudio.properties
file.
Navigate to the
%ENDECA_TOOLS_ROOT%\admin\conf
directory on Windows($ENDECA_TOOLS_ROOT/admin/bin
directory on UNIX).Edit the
workbench.properties
file and change theworkbench.host
andworkbench.port
if your port is different than 8006 to point to your Oracle Commerce Workbench Service.Navigate to the
%ENDECA_TOOLS_ROOT%\admin\bin
directory on Windows ($ENDECA_TOOLS_ROOT/admin/bin
directory on UNIX).Run the
set_shared_secret[.bat|.sh]
script passing in theworkbench.properties
configuration file and a new shared secret with the--secret
parameter.For example, in UNIX this is:
./set_shared_secret.sh --config ../conf/workbench.properties --secret some_secret_here
Navigate to the
%ENDECA_TOOLS_CONF%\conf
directory on Windows ($ENDECA_TOOLS_CONF/conf
directory on UNIX).Locate the
sharedSecret
property. For example:# Shared secret used for all IFCR-hosted tools # Value should match the shared secret defined for each tool # in ws-extensions.xml sharedSecret=DLK#*@#%Gu3897hr*#FI$fil#H2oHP@
Set the value of the property to the new shared secret. It must match the shared secret parameter that you used when you ran the
set_shared_secret
script.For example:
sharedSecret=some_secret_here