--- title: "Device posture to check if specific certificate is installed on AppGate user machine" slug: "device-posture-to-check-if-specific-certificate-is-installed-on-appgate-user-machine-3" updated: 2025-11-24T02:53:07Z published: 2025-11-24T02:53:07Z canonical: "support.appgate.com/device-posture-to-check-if-specific-certificate-is-installed-on-appgate-user-machine-3" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.appgate.com/llms.txt > Use this file to discover all available pages before exploring further. # Device posture to check if specific certificate is installed on AppGate user machine This is an example of multiple ways to do device posture The method uses device claim script where AppGate client download a script in the background and execute and the send the result back to either AppGate controller or AppGate GW. This example is using Windows and PowerShell to illustrate 1. Download [Check_Cert.ps1](https://appgate.my.salesforce.com/sfc/p/3h0000016IT3/a/5d000000UySE/yzVY1yfu0h0tRLHbjHy5Ky11o7rUGaJNkorEZCdavQ4) file and open it with any editor 2. Change the value “BD9D0D1C70165449E36910F0F1316FB687990EAF” to reflect the certificate you want to check on the users’ machines 3. On AppGate admin UI, navigate to Identity --Device Claim Scripts--Add New 4. Upload the aforementioned script by press Choose a file and fill the other information as you want. 5. Device Claim Script is linked to the IdP, so when a user authenticates to that IdP the client will download the script and execute it, so Navigate to Identity -- and pick your IdP-- Configure On-demand Device Claims -- Add New Your configuration should be looks like below 1. Command --Run Device Claim Script 2. Device Claim Script -- Choose the script you named it in step 4 3. Argument --True 4. Claim Name -- Check_Cert 5. Platform -- All Windows devices ![](https://cdn.us.document360.io/e7482ce5-acfa-4c3b-b76c-b6c32472644a/Images/Documentation/device-posture-to-check-if-specific-certificate-is-installed-on-appgate-user-machine-image-pdsuwei4.png?sv=2026-02-06&spr=https&st=2026-11-22T17%3A46%3A29Z&se=2026-11-22T18%3A46%3A29Z&sr=b&sp=r&sig=ki1T%2BldRo%2BsoocDMQlj7ZEqsGJ%2Fz6u5UP6tVfybeL7I%3D) Now if you go to Assignment Criteria in Policy you should see a claim called **Check_Cert** ![](https://cdn.us.document360.io/e7482ce5-acfa-4c3b-b76c-b6c32472644a/Images/Documentation/device-posture-to-check-if-specific-certificate-is-installed-on-appgate-user-machine-image-4gld5tae.png?sv=2026-02-06&spr=https&st=2026-11-22T17%3A46%3A29Z&se=2026-11-22T18%3A46%3A29Z&sr=b&sp=r&sig=mppeZMxQRI%2Bqo5LLofAfwjxLKtZC%2BcuByrtox4zj8nE%3D) Same For Access Criteria in Condition ![](https://cdn.us.document360.io/e7482ce5-acfa-4c3b-b76c-b6c32472644a/Images/Documentation/device-posture-to-check-if-specific-certificate-is-installed-on-appgate-user-machine-image-e6t1dkqq.png?sv=2026-02-06&spr=https&st=2026-11-22T17%3A46%3A29Z&se=2026-11-22T18%3A46%3A29Z&sr=b&sp=r&sig=d6jZZYluN6TjcemYwy3VybIOE2ftF9SnHwcufcszkxU%3D) All you need is to use it either with Policy or Condition