Security checks: Data at rest
Credentials and configs at rest: encryption with APP_KEY and file permissions on saved configs.
From V8.3.0, these checks run in php artisan rconfig:security-check and in Security Center. Run only this group with:
cd /var/www/html/rconfigphp artisan rconfig:security-check --only=dataA failing check shows the fix for your server, with its real paths, on the page and in the command output. The fixes below use the default install folder, /var/www/html/rconfig.
| Check | Severity | Checks that |
|---|---|---|
data.credentials_encrypted |
Critical | Stored credentials are encrypted and readable with APP_KEY |
data.config_file_modes |
High | Saved configs are private to rConfig |
Stored credentials are encrypted and readable with APP_KEY
Section titled “Stored credentials are encrypted and readable with APP_KEY”Check ID: data.credentials_encrypted · Severity: Critical
Why it matters: Device, enable, SMTP and REST API secrets must be stored encrypted with APP_KEY. Plain text leaks them through any database backup or export, and values APP_KEY cannot decrypt mean the key changed.
How to fix: Plain text or serialized values: re-save the affected credentials from the UI so they are encrypted again, then change them on the devices or services they belong to. Values APP_KEY cannot decrypt: restore the previous APP_KEY from your .env backup, or re-enter the affected credentials.
References: NIST SC-28, NIS2 21(2)(h)
Saved configs are private to rConfig
Section titled “Saved configs are private to rConfig”Check ID: data.config_file_modes · Severity: High
Why it matters: Device configs hold secrets such as VPN keys and SNMP communities. Configs saved by older releases could be readable by every local account, so they must have no access for other users.
How to fix: Run cd /var/www/html/rconfig && php artisan rconfig:set-config-permissions (add --dry-run first to see what would change)
References: NIST AC-6, NIST SC-28
See Security hardening for the server settings behind these checks.