Security checks: TLS
The certificate this server presents, read from the APP_URL host when it uses HTTPS, otherwise from 127.0.0.1:443.
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=tlsA 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 |
|---|---|---|
tls.cert_expiry |
High | The TLS certificate is not about to expire |
The TLS certificate is not about to expire
Section titled “The TLS certificate is not about to expire”Check ID: tls.cert_expiry · Severity: High
Why it matters: An expired certificate trains users to click through browser warnings and breaks API clients that verify TLS.
How to fix: Renew or replace the certificate in the Apache SSL site, then reload Apache. For a self-signed certificate, run sudo php artisan rconfig:ssl-self-signed --force.
References: NIST SC-17, NIS2 21(2)(h)
See Security hardening for the server settings behind these checks.