Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kaui secret key base property #553

Merged
merged 2 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion userguide/getting-started/includes/tomcat.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,16 @@ Finally, Kaui needs to be configured. For this, you need to follow the steps giv
</Service>
----

. Open *TOMCAT_HOME/conf/catalina.properties file*. Add the following database properties related to Kaui at the end of this file (Use appropriate values as per your database):
. Open *TOMCAT_HOME/conf/catalina.properties file*. Add the following database properties related to Kaui at the end of this file (Use appropriate values as per your database):
[source,properties]
kaui.db.url=jdbc:mysql://127.0.0.1:3306/kaui
kaui.db.username=killbill
kaui.db.password=killbill

. Add the following Kaui config property as well to *TOMCAT_HOME/conf/catalina.properties file* (Use appropriate string as per your choice):
[source,properties]
kaui.secret_key_base=abcadtfsetdyghuiyhtyehfktgn

. Start Tomcat using the script *TOMCAT_HOME/bin/startup.sh* or *TOMCAT_HOME/bin/startup.bat*
(Depending on your operating system)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ KAUI_REFUND_REASON_CODES |Default reason codes for refunds |None
KAUI_ENCRYPTION_FILENAME |File containing the encryption keys |config/symmetric-encryption.yml
|kaui.secret_key_base/

KAUI_SECRET_KEY_BASE |Secret key base used for securing session data and other sensitive information. |Any string value (A long randomly generated string of characters is recommended)
KAUI_SECRET_KEY_BASE |Secret key base used for securing session data and other sensitive information. |Any string value (A long randomly generated string of characters is recommended to be set for Tomcat installation. In case of AWS/Docker, a default value is auto-generated.)
|===

Loading