---
title: The Locations of the Necessary Files
slug: kronpam-installation-guide/the-locations-of-the-necessary-files
docTags: 
createdAt: 2025-01-13T11:35:12.368Z
---

## *Remote Access Portal (On the Cloud):*

- Remote Access Portal Directory: /pam/remote-access-portal
- Remote Access Portal Java File Location: /pam/remote-access-portal/rap-0.0.1-SNAPSHOT.jar

:::hint{type="info"}
You can check its version by using **sudo** **java -jar rap-0.0.1-SNAPSHOT.jar -v** (with root privileges) command.
:::

- Remote Access Portal Config Location: /pam/remote-access-portal/conf/application.properties
- Remote Access Portal Logs Location: /pam/remote-access-portal/logs/application.log
- Remote Access Portal Services’ Statuses Script Location: /pam/scripts/show\_service\_status.sh

:::hint{type="info"}
You can check the statuses of nginx, pam-rap, and wireguard services by using the **sss** command.
:::

- Remote Access Portal Service Location: /usr/lib/systemd/system/pam-rap.service

## *Nginx (On the Cloud):*

- AWS Certificate using in Nginx Service Location: /etc/nginx/certs/cert.crt

:::hint{type="info"}
The user should remove this certificate and add the user’s AWS certificate with the same name. After this change, the user should restart nginx service by using **sudo systemctl restart nginx.service** command.
:::

- RSA Private Key location for Nginx Service: /etc/nginx/certs/cert.key

:::hint{type="info"}
The user should remove this key and add the user’s key with the same name. After this change, the user should restart the nginx service by using **sudo systemctl restart nginx.service&#x20;**&#x63;ommand.
:::

- Nginx Configuration File Location: /etc/nginx/nginx.conf

## *Wireguard: (On-Cloud and on-prem/on-PAM):*

- Wireguard Configuration File Location:
  - /etc/wireguard/wg-server.conf (on-cloud)
  - /etc/wireguard/wg-client.conf (on-prem/on-PAM)

