---
title: Kron PAM Server Configuration
slug: kronpam-installation-guide/kron-pam-server-configuration
docTags: 
createdAt: 2025-11-03T14:38:16.871Z
---



1.    Update the CORS configuration in web.xml:

| **Linux CLI** | **\[root\@pam\~]#** sudo vi /pam/gui/conf/web.xml |
| ------------- | ------------------------------------------------- |



2.    Locate and update the following lines:

| **Linux CLI** | /cors<br />…<br />\<param-name>**cors.allowed.origins**\</param-name><br />\<param-value> \{RAP URL} e.g., **https\://remote.cloudpam.com**\</param-value><br />… |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |

:::hint{type="danger"}
Using the \* wildcard allows all access, but is not recommended for production environments.
:::

3.    Set the necessary and optional parameters to configure the Kron PAM Secure Remote Access. The following parameters are defined on the System Config Man. screen of the Kron PAM Web GUI.

**The necessary parameter:**

| **Parameter Name**   | **Default Parameter Value**        | **Description**                                                                                                                                                                                                   |
| -------------------- | ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **rap.cloud.server** | **http\://localhost:7777/connect** | This parameter defines the Remote Access Portal (RAP) address. The parameter can be defined as URL with IP (e.g., https\://34.234.69.53/connect) or as URL with domain name (e.g., https\://cloudpam.com/connect) |



**Optional parameters:**

| **Parameter Name**                                    | **Default Parameter Value** | **Description**                                                                                                     |
| ----------------------------------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **rap.rdp.session.duration.limit.warning.before.min** | **1**                       | This parameter defines how many minutes before the RDP session expires that the timeout warning will be sent.       |
| **rap.ssh.session.duration.limit.warning.before.min** | **1**                       | This parameter defines how many minutes before the SSH session expires that the timeout warning will be sent.       |
| **rap.token.expiration.period**                       | **1**                       | This parameter indicates the lifespan of a token and is used to prevent the creation of long-term invitation links. |

**Optional parameters for SMS feature in Kron PAM Secure Remote Access:**

| **Parameter Name**                                            | **Example Parameter Value**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | **Description**                                                                                                           |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| **rap.sms.http.url**                                          | https\://api.XXXXXXX.com/v1/send-sms                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | This parameter defines the URL of SMS service that is used to send SMS via HTTP for Kron PAM Secure Remote Access tokens. |
| **rap.sms.http.body**                                         | \<request>\<authentication>\<username>11111111\</username>\<password>2222222\</password>\</authentication>\<order>\<sender>KRON\</sender>\<sendDateTime>\</sendDateTime>\<message>\<text><br />\<!\[CDATA\[Dear %userEid%,    <br />Please use the passcode below during login phase of your Kron PAM Secure Remote Access connection.                     <br />Passcode: %passcode%    <br />Kron PAM Secure Remote Access Connection (Access On Web Browser): %connURL%]]><br />\</text>\<receipents>\<number>%phoneNumber%\</number>\</receipents>\</message>\</order>\</request> | This parameter defines the SMS message content using HTTP protocol for Kron PAM Secure Remote Access tokens.              |
| **rap.sms.smpp.body (Alternative to the previous parameter)** | \{example SMPP body}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | This parameter defines the SMS message content when using the SMPP protocol for Kron PAM Secure Remote Access tokens.     |
| **rap.sms.http.headers**                                      | Content-Type\:text/xml                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | This parameter defines the headers that are included in the SMS for Kron PAM Secure Remote Access tokens.                 |
| **rap.sms.http.encoding**                                     | UTF-8                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | This parameter defines a character encoding used in the SMS for Kron PAM Secure Remote Access tokens.                     |
| **rap.sms.http.method**                                       | POST OR GET                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | This parameter defines the HTTP method used in SMS for Kron PAM Secure Remote Access tokens.                              |
| **rap.sms.http.delimiter**                                    | &                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | This parameter defines the delimiter character used in the SMS for Kron PAM Secure Remote Access tokens.                  |
| **rap.sms.channel**                                           | http OR smpp                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | This parameter defines the SMS channel typefor Kron PAM Secure Remote Access tokens.                                      |

