Skip to content

Commit

Permalink
Merge pull request #553 from KBbitsP/v3
Browse files Browse the repository at this point in the history
Kaui secret key base property
  • Loading branch information
reshmabidikar authored May 23, 2024
2 parents 61b0887 + b98f690 commit f94b248
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
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.)
|===

0 comments on commit f94b248

Please sign in to comment.