2. Publish CRL
Overview
When SLS checks the server certificate, it downloads the CRL from the CRL address in the certificate to check revocation status. Publish the logpresso-ca.crl created in 1. Issue Server Certificate at that address.
Web Server Requirements
| Item | Requirement |
|---|---|
| Address | Exactly the CRL address in the certificate (e.g. http://crl.example.com/logpresso-ca.crl) |
| Protocol | HTTP |
| Allowed access | Requests from the SLS region egress IP ranges |
| File | logpresso-ca.crl (DER format) |
| Operation | Must always respond while syslog is being received |
Publishing
Copy logpresso-ca.crl to the path on the web server that matches the CRL address. Any kind of web server can be used. The following example assumes the web server runs on the Sonar collection node and its document root is /var/www/html.
Check from your internal network that you can download the file directly from the web server. A response of 200 means it is working.
Renewal
A CRL has a validity period. Before default_crl_days in crl.cnf (30 days in the example) passes, create a new CRL and upload it again to the same address.
Run the following on the Sonar collection node as root, in the working directory where the certificate was issued. When prompted for the CA certificate password, enter the password entered when Sonar was installed.
cd /root/sls-cert
openssl pkcs12 -legacy -in /opt/logpresso/data/logpresso-ca/certs/ca.pfx -nocerts -nodes -out ca.key
openssl ca -config crl.cnf -gencrl -keyfile ca.key -cert logpresso-ca.pem -out logpresso-ca.crl.pem
openssl crl -in logpresso-ca.crl.pem -outform DER -out logpresso-ca.crl
shred -u ca.key
openssl crl -in logpresso-ca.crl.pem -noout -nextupdate
The last command shows the expiration time (nextUpdate) of the new CRL. Upload the new logpresso-ca.crl to the web server again with install -m 644, as when publishing. The CRL number increases by 1 automatically according to the crl/crlnumber file.
References
Official documents were checked as of 2026-11-26. Dates in parentheses are the last-updated dates shown on each document.
- Forward Logs to a Syslog Server — CRL/OCSP information requirement for private CA certificates (2026-10-27)
- Server Certificate Validation — Revocation Status check (2026-10-27)
- Strata Logging Service Regions — Egress IP ranges of each region (2026-10-27)