| Where Can I Use This? | What Do I Need? |
Certificate-based authentication in Prisma Agent provides a secure
mechanism for verifying user identity, but requires precise certificate selection to
maintain accurate User-ID mapping. By default, when a user certificate is
unavailable, the agent might use a machine certificate, which can result in
incorrect User-ID mapping where the device serial number is used instead of the
actual username. This behavior can compromise policy rules that depend on accurate
user identification.
The certificate selection feature allows administrators to define specific criteria
for how Prisma Agent selects certificates during authentication. This ensures
that the agent consistently chooses the correct certificate, leading to proper
User-ID mapping and effective security policy enforcement.
There are two key components to understand when configuring certificate selection:
When the agent needs to authenticate, it follows the configured store preference and
EKU filtering criteria to select the appropriate certificate. If multiple valid
certificates are found, end users will see a pop-up with the list of certificates
that match the EKU OID filter and store. The users will need to select a certificate
to continue. Be sure to distribute only a single certificate so the authentication
experience is seamless for the user.
In pre-logon scenarios, the agent always uses the machine store regardless of the
configured preference, as the user context is not yet available. (Does not apply to
Prisma Agent Linux)
Interaction with SAML Authentication
For each authentication method configured in Prisma Agent, the certificate
selection behavior will interact with Security Assertion Markup Language (SAML)
authentication in distinct ways. Here's how each method works:
In all these authentication methods, the certificate selection process follows the
configured client_cert_lookup_store setting
(user, machine, or
user_then_machine) and applies any configured EKU OID
filtering criteria to determine which certificates are valid for authentication.
Certificate Selection Notes
- These settings are applicable only to the configuration applied using the
config.json file for the initial deployment of Prisma Agent and are used for certificate authentication
- The settings enabled through the config.json file are
preserved upon reboot, restart, and agent upgrade unless overridden by the Agent
Settings in Prisma Access (Managed by Panorama or Strata Cloud Manager).
- The Agent Settings take precedence from
the second login onward; the config.json settings are used
on the first login only.
- In pre-logon scenarios, the client_cert_lookup_store
configuration is ignored, and the agent only uses the "Machine Store" for
certificate lookup. However, the client_cert_eku_oid_list
configuration is still applied (Does not apply to Prisma Agent Linux)
- If client_cert_eku_oid_list is not specified, the agent
defaults to using only certificates with the Client Authentication OID
(1.3.6.1.5.5.7.3.2)
Certificate selection information on the Endpoint Manager server resets to
the default value when the agent switches to a different Endpoint Manager
server or when the agent is unenrolled. When the user reconnects after a
reset, default certificate selection takes place.
On Linux, switching
between Endpoint Manager servers from Prisma Agent is not supported. To
unenroll from an Endpoint Manager, run pacli epm
unenroll. Certificate selection resets to the default value
after unenrollment.
- On Linux, when multiple
certificates match the configured criteria, Prisma Agent displays a certificate
selection dialog so users can choose the appropriate certificate.
To configure the certificate selection: