Security

 View Only
  • 1.  CPPM Authentication Source Cache Timeout Best Practices

    Posted Jun 17, 2025 08:53 AM

    Good Afternoon,

    I am creating this discussion to obtain a couple of hints related to "Authentication Source Cache Timeout" field in Aruba Clearpass.

    In our organization we are trying to implement some automatic remediations with the aim to block users and devices that have been reported by our SIEM.

    In particular, in order to isolate users whose account may have been "hacked", we started by disabling them on the Active Directory.

    However the problem is that, in our current environment (Cluster of 2 Aruba Clearpass  6.11.9.259693 on C2010 platform), the value of the cache timeout is set to 36000 seconds, so a user, if already authenticated via 802.1x (wired or wireless) will still continue to authenticate to its service.

    My questions are:

    • If we reduce the value to 300 (or even 180) seconds, what's the impact of this modification on the server load/performances?

    • Moving the authentication from the on-prem AD to the Entra environment will be more usefull in the proposed scenario?

    Thank you



  • 2.  RE: CPPM Authentication Source Cache Timeout Best Practices

    Posted Jun 17, 2025 09:06 AM

    The cache timeout is for authorization purposes. For 802.1X, AD users authenticate with a client certificate (preferred) and the AD is only used for authorization. This is not If you reduce the timeout to 300 seconds, then if there is a (re)authentication for the same user, ClearPass will lookup the authorization information again in the Active Directory Server. It depends on re-authentication timers, how often devices authenticate, and the sizing/performance of your AD servers if there is a noticeable increase in load or latency. If your AD servers and ClearPass servers have plenty of capacity, you probably can reduce the cache timer. In most environments, the AD is not so dynamic and having a 10 hour timeout is fine. If you regularly disable accounts and want the ClearPass respond faster to those changes, yes, it may be the right option.

    Moving from on-premises AD to Entra ID does not really make a difference in this perspective. It's LDAP(s) to AD or a GraphAPI call to Entra ID; the caching works the same, and also there it's a performance vs fast response balance how you configure the cache timeout.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 3.  RE: CPPM Authentication Source Cache Timeout Best Practices

    Posted Jun 18, 2025 03:51 AM

    Hello Herman,

    How do I create roles and enforcement for only one device with a certificate that is manually installed on the device?

    Thanks




  • 4.  RE: CPPM Authentication Source Cache Timeout Best Practices

    Posted Jun 18, 2025 03:53 AM

    Hard to tell without further knowing your setup. But in general, find a way to recognize the manual installed certificate, create a role mapping for that, and apply an enforcement profile based on that.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 5.  RE: CPPM Authentication Source Cache Timeout Best Practices

    Posted Jun 18, 2025 08:54 AM
    Hi Herman,
    We have successfully implemented authentication without Active Directory. However, our client has a request and question regarding local onboard certificates in ClearPass. They would like to know if the certificate can be restricted to a single user device meaning that once it is installed on one device, it cannot be used on any other device. Is this possible? We kindly request your technical assistance on this matter.

    Here is an example that we have already implemented, but we are still unsuccessful. Is there any mistake in the configuration?
    Role & Enforcement



  • 6.  RE: CPPM Authentication Source Cache Timeout Best Practices

    Posted Jun 19, 2025 04:02 AM

    It seems that unique device count checks the number of endpoint with the 'Username' attribute set to the Username in use:

    SELECT COUNT(te.id) + 1 AS num_endpoints FROM tips_endpoints as te WHERE LOWER( te.attributes->>'Username') = LOWER( '%{Authentication:Username}') and te.mac_address != '%{Connection:Client-Mac-Address-NoDelim}'

    In order for this to work, you should store the usename in the endpoint, with an Endpoint Update post auth enforcement profile. You could so something similar with the certificate, where I would use the certificate serial number (if you don't have other CAs using the same serial numbers), store that in the endpoint as an attribute, then create a query similar to the Unique Enpoints, but then checking the certificate serial against the ones stored in the endpoints. However, if your client does use mac randomization, this strategy breaks.

    If you want to implement this, it may be best to work with your HPE Aruba Networking partner or with TAC.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------