Prisma SASE

Download 0
Last updated Nov 26, 2026

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.

FilePurposeUsed in
prisma-sase-tls.p12Bundle of the server certificate, private key, and CA certificate3. Sonar TLS Receiver
logpresso-ca.crlCertificate revocation list2. Publish CRL
logpresso-ca.pemSonar CA (root CA) certificate5. Strata Logging Service Forwarding

Values to Decide First

ItemExampleDescription
Syslog server FQDNsyslog.example.comThe value to enter in Syslog Server of the SLS profile. Goes into the certificate CN and SAN
CRL addresshttp://crl.example.com/logpresso-ca.crlThe address SLS downloads the CRL from. Must be an HTTP address; a port may be included
Caution
The CRL address cannot be changed after the certificate is issued. Changing it requires reissuing the certificate, so finalize the web server address and port first.

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

sudo -i
umask 077
mkdir -p /root/sls-cert && cd /root/sls-cert

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
Note
The Sonar CA file is stored with legacy encryption, so OpenSSL 3.x requires the -legacy option. ca.key is the private key of the Sonar CA, so delete it in Step 6 as soon as issuing is done.

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
ItemMeaning
subjectAltNameSAN. SLS compares the Syslog Server value with this value
extendedKeyUsageServer certificate usage
crlDistributionPointsCRL 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
Note
Do not delete the crl directory and crl.cnf. You need them again to renew the 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/
Note
logpresso in the install command is the account that runs Sonar. If Sonar runs as a different account, use that account. If you delete /opt/logpresso/etc/prisma-sase-tls.p12, the keystore registration is also lost when Sonar restarts.

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.

shred -u ca.key server.key
rm -f server.csr prisma-sase-tls.p12

Keep the following files.

FileNext step
logpresso-ca.crlUpload to the web server in 2. Publish CRL
logpresso-ca.pemUpload to SLS in 5. Strata Logging Service Forwarding
crl.cnf, crl directoryUsed to renew the CRL
logpresso-ca.crl.pemPEM copy of the published CRL. Used to check its expiration time (nextUpdate)
server.ext, logpresso-ca.srlUsed to reissue the certificate (srl holds the next certificate serial number)
server.crtThe 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.