From e3ad92ef182eb31815d2b2752fc6c1312ea9e1c1 Mon Sep 17 00:00:00 2001 From: KBbitsP <75751774+KBbitsP@users.noreply.github.com> Date: Mon, 20 May 2024 23:36:39 +0530 Subject: [PATCH 1/2] Kaui secret key base property Kaui secret key base property --- userguide/getting-started/includes/tomcat.adoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/userguide/getting-started/includes/tomcat.adoc b/userguide/getting-started/includes/tomcat.adoc index 421ad4886..15f5bb70d 100644 --- a/userguide/getting-started/includes/tomcat.adoc +++ b/userguide/getting-started/includes/tomcat.adoc @@ -243,12 +243,16 @@ Finally, Kaui needs to be configured. For this, you need to follow the steps giv ---- -. 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) From b98f6904f8b78279b00e591cc28529e310d7b14a Mon Sep 17 00:00:00 2001 From: KBbitsP <75751774+KBbitsP@users.noreply.github.com> Date: Tue, 21 May 2024 23:32:28 +0530 Subject: [PATCH 2/2] Update kaui-configuration-properties-table.adoc --- .../platform/includes/kaui-configuration-properties-table.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userguide/platform/includes/kaui-configuration-properties-table.adoc b/userguide/platform/includes/kaui-configuration-properties-table.adoc index 20cc1ad15..bb943402a 100644 --- a/userguide/platform/includes/kaui-configuration-properties-table.adoc +++ b/userguide/platform/includes/kaui-configuration-properties-table.adoc @@ -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.) |===