1. Issue Server Certificate
Overview
On the Sonar collection node, issue a server certificate for syslog reception with the key of the Sonar CA (logpresso-ca). The SLS documentation states that a certificate signed by a private CA must contain CRL or OCSP information. This procedure puts a CRL address in the certificate and also creates the CRL to publish at that address.
This page produces the following three files.
| File | Purpose | Used in |
|---|---|---|
| prisma-sase-tls.p12 | Bundle of the server certificate, private key, and CA certificate | 3. Sonar TLS Receiver |
| logpresso-ca.crl | Certificate revocation list | 2. Publish CRL |
| logpresso-ca.pem | Sonar CA (root CA) certificate | 5. Strata Logging Service Forwarding |
Values to Decide First
| Item | Example | Description |
|---|---|---|
| Syslog server FQDN | syslog.example.com | The value to enter in Syslog Server of the SLS profile. Goes into the certificate CN and SAN |
| CRL address | http://crl.example.com/logpresso-ca.crl | The address SLS downloads the CRL from. Must be an HTTP address; a port may be included |
Issuing Procedure
Run the following on the Sonar collection node as root. Replace the example values in the commands with the values you decided.
Step 1: Create a working directory
Step 2: Extract the Sonar CA key and certificate
The Sonar CA is located at /opt/logpresso/data/logpresso-ca/certs/ca.pfx. When prompted for a password, enter the CA certificate password entered when Sonar was installed.
openssl pkcs12 -legacy -in /opt/logpresso/data/logpresso-ca/certs/ca.pfx -nocerts -nodes -out ca.key
openssl pkcs12 -legacy -in /opt/logpresso/data/logpresso-ca/certs/ca.pfx -clcerts -nokeys -out logpresso-ca.pem
Step 3: Issue the server certificate
Create a server.ext file in the working directory with the content below. Replace the two addresses with the values you decided.
subjectAltName = DNS:syslog.example.com
extendedKeyUsage = serverAuth
crlDistributionPoints = URI:http://crl.example.com/logpresso-ca.crl
| Item | Meaning |
|---|---|
| subjectAltName | SAN. SLS compares the Syslog Server value with this value |
| extendedKeyUsage | Server certificate usage |
| crlDistributionPoints | CRL address. SLS downloads the CRL from this address to check revocation status |
Create a private key and a certificate signing request, and sign it with the Sonar CA key.
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr -subj "/CN=syslog.example.com"
openssl x509 -req -in server.csr -CA logpresso-ca.pem -CAkey ca.key -CAcreateserial -days 365 -sha256 -extfile server.ext -out server.crt
Step 4: Create the CRL
Create a crl.cnf file in the working directory with the content below. default_crl_days is the validity period of the CRL in days.
[ ca ]
default_ca = CA_default
[ CA_default ]
database = crl/index.txt
crlnumber = crl/crlnumber
default_md = sha256
default_crl_days = 30
Create a CRL with no revoked certificates and convert it to DER format for publishing.
mkdir -p crl && touch crl/index.txt && echo 1000 > crl/crlnumber
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
Step 5: Create a PKCS12 file for Sonar
Bundle the server certificate, private key, and CA certificate into one PKCS12 file and place it in the Sonar configuration directory. When prompted for an Export Password, set and enter a new password. You use this password to register the keystore in step 3.
openssl pkcs12 -export -inkey server.key -in server.crt -certfile logpresso-ca.pem -name prisma-sase-tls -out prisma-sase-tls.p12
install -o logpresso -g logpresso -m 600 prisma-sase-tls.p12 /opt/logpresso/etc/
Step 6: Verify and clean up
Check the SAN and CRL address of the issued certificate and verify it against the CRL. The last line shows server.crt: OK if everything is correct.
openssl x509 -in server.crt -noout -subject -issuer -ext subjectAltName,crlDistributionPoints
openssl verify -CAfile logpresso-ca.pem -CRLfile logpresso-ca.crl.pem -crl_check server.crt
Delete the Sonar CA private key and the files no longer needed.
Keep the following files.
| File | Next step |
|---|---|
| logpresso-ca.crl | Upload to the web server in 2. Publish CRL |
| logpresso-ca.pem | Upload to SLS in 5. Strata Logging Service Forwarding |
| crl.cnf, crl directory | Used to renew the CRL |
| logpresso-ca.crl.pem | PEM copy of the published CRL. Used to check its expiration time (nextUpdate) |
| server.ext, logpresso-ca.srl | Used to reissue the certificate (srl holds the next certificate serial number) |
| server.crt | The issued server certificate. Used to check its expiration date and other details |
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, SAN match requirement (2026-10-27)
- Server Certificate Validation — Certificate checks performed by SLS (2026-10-27)