Skip to content

Allow only compliant Windows devices

This guide grants access only to Windows machines that run a minimum Windows version and hold a certificate issued by your own certificate authority (CA). Both are conditions of a policy. Background: Device Certificates.

In short

Upload your CA under Settings → Device trust, check that the machines are verified, then add a Windows operating system condition with a Min Version and Require a device certificate to the policy.

Before you start

  • Windows machines, as Clients or Assets, with a current agent. macOS and Linux agents do not prove a certificate.
  • Each machine has a computer certificate in the Personal store of the local computer (Cert:\LocalMachine\My) with its private key, issued by your CA directly or through intermediate CAs. AD CS autoenrollment, Intune SCEP or PKCS profiles for computer certificates qualify.
  • The certificate is valid and, if it has a key usage, includes Digital Signature. The key is RSA or ECDSA (P-256 or P-384).
  • The public certificate of your root CA or issuing CA in PEM format. Public CAs are refused, expired CAs too. At most 20 CAs can be uploaded.
  • A policy that grants the access. See Reach a server.

1. Upload your CA

  1. Open Account → Settings and the Device trust tab.
  2. In the card Device certificates, under Trusted certificate authorities, choose Add CA.
  3. Paste exactly one certificate into CA certificate (PEM), starting with -----BEGIN CERTIFICATE-----, and optionally enter a Name. A private key or other text is refused.
  4. Choose Apply.

With the root CA, every certificate below it passes. With an issuing CA, only that CA's certificates pass. See Device certificates.

2. Check that the machines are verified

Machines pick up a new CA within a few minutes. Open a Windows Asset, or a Windows Client under Users & Clients, and look at Device certificate: the status should read Verified. A machine with another status shows a Reason; the table is in Checking a machine.

Do this before you require the certificate in a policy that people rely on: a machine without a verified certificate loses the access at once.

3. Add the condition to the policy

  1. Open the policy, choose Edit and open the Conditions tab, sub-tab OS Security.
  2. Choose Add and select Windows.
  3. Set Min Version to the lowest Windows version you accept.
  4. Tick Require a device certificate and choose the Issuing CA: Any trusted CA (default) or one CA by name.
  5. Add other requirements if you want them, for example Require Disk Encryption or Require OS Updates.
  6. Choose Save and then Apply.

All requirements of one condition apply together. To accept two CAs but not all, add one Windows condition per CA: a machine has to meet one of the conditions of a policy. See Conditions.

Verify

  1. A machine with a verified certificate and a version at or above the minimum connects and reaches the destination.
  2. A machine without a certificate, or below the minimum version, does not: the destination is missing from its list. Check with the Access Diagnostic.
  3. In the policy's list, the condition reads Device certificate: Required (CA name). The insight panel lists the sources that meet the conditions.

If it doesn't work

  • The machine is Not verified. Read its Reason: for example no_certificate (the certificate is not in the local computer store, or has no accessible key) or untrusted_chain (upload the issuing CA or install the missing intermediates). All reasons and fixes are in Checking a machine.
  • Require a device certificate cannot be ticked. No CA is uploaded yet.
  • Access is lost after 24 hours offline. A proof counts for 24 hours. The agent proves again at start and every 4 hours.
  • A revoked certificate still passes. XplicitTrust does not check revocation lists. Block it, see Blocking a certificate.
  • A CA cannot be deleted. A policy still names it as Issuing CA. Change the condition first.

Next

See also