> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Certificate access

> Install a client certificate on managed Macs and set whether every app can use its private key.

The Certificate access control installs a client identity, a certificate and its private key from a PKCS #12 file, in the System keychain of your Macs, and sets whether every app can use its private key without asking.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| ✅ | | | | |

Requires macOS 15 or later.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls**, open **Certificate access**, then click **Add configuration**.

**2. Upload the certificate**

Upload the PKCS #12 file, enter its password, and set the other settings. See the settings below.

**3. Select targeting**

Choose which devices to apply the configuration to: all macOS devices, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

## Settings

| Setting | Description |
| - | - |
| **Certificate file (PKCS #12)** | A `.p12` or `.pfx` file holding one certificate and its private key, up to 1 MB. |
| **File password** | The password of the file. Required when you upload a file. |
| **Certificate file name** | The name the certificate takes on the Mac, up to 255 characters. Required. |
| **Every app can use the private key** | **On**, **Off** or **Not configured**. |

* **Certificate file name** is filled with the name of the uploaded file. You can change it.
* **Every app can use the private key** set to **On** lets every app use the private key without asking. **Off** keeps it to the apps macOS grants it. **Not configured** leaves the Mac's own default, which keeps it to the apps macOS grants it.
* When you edit a configuration, the file and its password are never shown. Leave **File password** empty to keep the stored file and password, or upload a new file with its password to replace them.

## How it works

Primo deploys a configuration profile with a PKCS #12 payload. The Mac installs the certificate and its private key in the System keychain. The file and its password are stored encrypted.

Removing the configuration removes the certificate from the Mac.

> [!NOTE]
>
> To install several client certificates on the same Mac, use [Certificate enrollment](https://docs.getprimo.com/mdm/policies/certificate-enrollment.md), which takes one configuration per certificate.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace the configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [Certificate enrollment](https://docs.getprimo.com/mdm/policies/certificate-enrollment.md)
* [Trusted certificates](https://docs.getprimo.com/mdm/policies/trusted-certificates.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.