You are here: Home > Device Management > General Settings > Certificate Providers

Configure Certificate Providers and Certificate Profiles

Configure a SCEP Certificate Provider once and add a Certificate Profile for each certificate you need, then pick the profile from Apple and Android Policies.

14 min read

TL;DR

Configure the SCEP server and challenge once on a Certificate Provider, add a profile for each certificate you need, and pick the provider and profile from an Apple SCEP payload, an Android WPA-EAP Wi-Fi network or an Android Policy assignment made through the API.

A Certificate Provider is a resource that stores one SCEP connection, meaning the server Devices request certificates from it and the challenge they use to prove they're allowed to. On top of that connection, each provider holds one or more Certificate Profiles: the authority name, key settings, and subject for one type of certificate. When you need a different certificate, you add a profile instead of creating another provider.

Your Policies then pick the provider and the profile they need, from an Apple SCEP payload or an Android WPA-EAP Wi-Fi network. One server and one challenge can issue different identities, for example, one for Wi-Fi and another for VPN, without duplicating the configuration or its secrets.

Note

One Auth Connector, one Connector Token, and one challenge serve every profile on a provider. You don't deploy a connector per profile.

Provider and profile settings

Every field in the form belongs to one of two levels. The level decides where the value is stored and how many Devices are affected when you change it.

Level

What it describes

Fields

Provider

How Devices talk to the SCEP server. You set it once, and every profile uses it.

Type, Server URL, CA Fingerprint, Retries, Retry Delay, and the Challenge Configuration

Profile

What the certificate contains. Each profile can have different values.

Profile name, Authority name, the Key Configuration, and the Subject Configuration

Name and Description also belong to the provider, but they only identify it in the list and never reach the certificate.

The Certificate providers list shows, for each provider, its segment, its SCEP server, its profiles, and its challenge mode.

Create or edit a Certificate Provider

The form has four numbered blocks: General Configuration, Server Configuration, Certificate Profiles, and Challenge Configuration.

1
Open Certificate providers

Once in the Applivery Dashboard, go to Resources 1. From the left-hand menu, select Certificate providers 2 and click + Create Certificate provider 3, or open an existing provider.

configure certificate provider
2
Fill in the General Configuration
  • Name: the name you'll see in the list and when you select the provider from a Policy.

  • Description: optional.

  • Type: SCEP.

On an existing provider, this section also shows its ID and its Connector Token.

scep creation
3
Fill in the Server Configuration
  • Server URL (required): the URL of the SCEP server. For NDES, for example: https://<your-ndes-server>/certsrv/mscep/mscep.dll.

  • CA Fingerprint (optional): the SHA-1 fingerprint of the CA issuer, so the Device can validate the CA before it trusts the response. To get it, open the CA certificate used by the NDES server, go to the Extensions section, and copy the CA Fingerprint entry.

  • Retries: how many times to retry the request if it fails.

  • Retry Delay: the delay, in seconds, between retry attempts.

Adjust Retries and Retry Delay to how your CA behaves: they're the only controls you have over a request that fails on the Device.

4
Configure the Certificate Profiles

Fill in the profile that's already created, with its authority name, key, and subject. Until you give it a name, it shows as Untitled profile with the Default mark: it's the profile that assignments use when they don't select one.

All the fields and how to add more profiles are in Certificate Profiles.

5
Fill in the Challenge Configuration

Choose the Mode, meaning how Devices get the challenge:

Mode

Fields

When to use it

None

—

Your CA doesn't require a challenge.

Manual

Challenge value

A static secret that you paste. It's the same for every request.

NDES

URL, Username, Password, Challenge pool size

Applivery requests single-use challenges from the NDES mscep_admin endpoint and keeps a pool of them ready. The pool size goes from 10 to 10,000.

For NDES:

  • URL: https://<your-ndes-server>/certsrv/mscep_admin.

  • Username: a domain user with permissions for the Certificate Template configured on the NDES server.

  • Password: the password for that user.

  • Challenge pool size: how many challenges Applivery keeps ready, from 10 to 10,000.

Although it comes after the profiles in the form, the challenge belongs to the provider, and every profile uses it.

6
Save and copy the Connector Token

Click Save. The provider gets its own ID, shown in the URL and at the top of its details, and Policies use this ID to refer to it.

Reopen the provider to copy the Connector Token shown at the top. You'll need it to deploy the Auth Connector.

Certificate Profiles

Each profile defines the authority, key, and subject of the requested certificates, sharing the server and challenge configuration. Policies select the profile to use.

The Certificate Profiles section shows a badge with the number of profiles on the provider, and each profile has its own tab.

  • One profile is the Default profile: its tab shows (Default), and its name has a Default badge. A provider always has one, and it's the profile used when an assignment doesn't select any.

  • + Add profile adds another tab. Each tab is an independent profile with its own subject, key, and key pair alias.

  • Profiles other than the Default one have a delete (trash) icon. You can't remove the Default profile, or a profile that a Policy still uses.

Certificate profiles

Profile name and Authority name

  • Profile name: the label you'll see in the Dashboard and when you select the profile from a Policy.

  • Authority name: used to identify the profile or template requested, for example mycompany-pki. Enter the intermediate or issuing CA name exactly as it appears in the CA certificate.

Key Configuration

  • Key Usage: the allowed uses for the key: Both, Signing, or Encryption.

  • Key Size: the size of the generated key: 1024, 2048, or 4096. It's typically 2048 or 4096, depending on your security policy.

  • Key Type: RSA, the default value.

  • Key Is Extractable: whether the private key can be extracted from the Device keystore.

  • Allow All Apps Access: whether all Apps on the Device can use the key.

Subject Configuration

Fields with the {} button support interpolation tags, placeholders that Applivery replaces with Device or employee data when it deploys the certificate. Fields without the button don't support them.

Note

Click {} to open the list of available tags and insert them from there instead of typing them. Two syntaxes coexist, %…% and the {{…}} syntax of older providers, and the selector always inserts the right one.

  • Subject: the certificate subject. Supports interpolation tags, for example CN={{user.email}}.

  • NT Principal: the User Principal Name (UPN) in NT format, for example john.doe@MYCOMPANY. Supports interpolation tags.

  • URI: associated URLs or URNs. Click Add for each one.

  • Email: the RFC822 name. Click Add for each one.

  • DNS: valid domain names. Click Add for each one.

If you store your own employee metadata, such as a cn or upn key, you can use it with {{user.metadata.PROPERTY}}, for example CN={{user.metadata.cn}} or {{user.metadata.upn}}.

subject configuration

Key pair alias

Each profile has a key pair alias (keyPairAlias): the name the Device uses to store the key pair in its keystore. Applivery generates it following a fixed pattern. It doesn't appear in the form, and you can't change it.

Profile

Key pair alias

Default

apl-scep-<providerId>

Any other profile

apl-scep-<providerId>-<profileId>

The Default profile's alias has no suffix: it's the same alias providers used before profiles existed. The profile ID suffix makes sure two profiles from the same provider never overwrite each other's key pair on the Device.

Use the alias to match what the Dashboard shows with what the Device reports, as explained in Check the certificates on a Device.

What happens when you change a provider

Editing the Server or Challenge Configuration doesn't change the profiles: their settings and aliases stay exactly as they were. Changing a field in a profile tab only affects that profile.

Even so, changing a provider triggers a certificate reissue. How many Devices get a new certificate depends on the level of the field you changed:

You change…

Certificates are reissued for…

Example

A profile field

Only the Devices assigned to that profile.

Changing the Subject of a VPN profile reissues certificates for the VPN profile's Devices. Devices on the Wi-Fi profile keep their serial number and their challenge.

A provider field

The Devices on every profile of the provider.

Changing Retry Delay reissues certificates for every Device. The subjects don't change, because only the connection was changed.

A reissued certificate has a new serial number and a new challenge. If the serial number stays the same, the certificate wasn't reissued.

Note

Android Devices don't sync one by one: the change applies in the next reporting cycle, which can take up to about 60 minutes. When you change a provider field, expect every Device on that provider to renew its certificate within that window.

Use a profile in an Apple Policy

The SCEP payload (com.apple.security.scep) configures Simple Certificate Enrollment Protocol (SCEP) settings. Its card lists iOS 10.0, macOS 10.12 Sierra, tvOS 10.0, watchOS 3.0, and visionOS 1.1.

The payload's Source selector has two options:

  • Manual: you enter the SCEP settings in the payload yourself. There's no provider behind them, so changes in Resources don't apply to this payload.

  • Certificate Provider: the payload stores a reference to a provider and a profile, and Applivery fills in the actual settings when it delivers the payload to the Device.

1
Choose the source

In the SCEP payload of your Apple Policy, set Source to Certificate Provider. The manual fields disappear.

The card shows the selected provider, with the Change and View details options.

2
Pick the profile

In Profile, select the profile you need from that provider. The Default profile shows as (Default).

The list only shows the profiles of the selected provider. To use a profile from another provider, click Change, select that provider, and pick the profile again.

scep

Each SCEP configuration selects one provider and one profile.

What the Device receives

The Device never receives the references to the provider and the profile. It receives the SCEP payload with the server URL, the challenge, and the subject of the selected profile already filled in.

In the Device's Profiles tab, the com.apple.security.scep payload shows as installed, along with the com.apple.security.root root CA payload that lets the Device trust the issuer.

If a payload points to a profile that doesn't exist, for example, when you build it through the API, Applivery rejects it when you save, and the configuration profile isn't stored.

Use a profile in an Android Wi-Fi network

From an Android Policy, go to WiFi → + Add WiFi network, as described in Configure Wi-Fi Networks, and then:

  1. Set Security to WPA-EAP.

  2. In the EAP configuration, set Outer to EAP-TLS.

  3. Set Certificate Type to Certificate Provider.

  4. Select the Certificate Provider, then the profile.

The certificate requested through SCEP is installed into the Device keystore by the Android Agent.

Warning

If you plan to block manual Wi-Fi changes on the device, make sure at least one valid and tested network is already declared in the policy — otherwise the device may lose Wi-Fi access entirely.

Assign a profile to an Android Policy through the API

Besides Wi-Fi networks, an Android Policy can request certificates with its certificateProviderAssignments list. The Policy editor in the Dashboard doesn't include these assignments, so you set them through the Applivery API.

Each assignment in the list has these fields:

Field

Description

certificateProviderId

Required. The provider the certificate is requested from.

profileId

Optional. The profile to use, as a string. If you leave it out, the Policy uses the provider's Default profile. The profile must belong to that provider.

storeCredentials

Required. Whether the issued credentials are stored on the Device. Accepts a boolean or a string.

The shortest assignment has two keys and uses the Default profile:

"certificateProviderAssignments": [
  {
    "certificateProviderId": "<providerId>",
    "storeCredentials": false
  }
]
  • If you send the profileId of the Default profile, Applivery stores the assignment without it. When you read a Policy, a missing profileId always means the Default profile.

  • The Policy also has a certificateProviderIds list. Applivery fills it in from the assignments, so you don't need to send it, and writing it has no effect.

  • On the Device, an assignment without a profile delivers the Default profile's subject and the alias without a suffix. An assignment with a profile delivers that profile's subject and the alias with its suffix.

If the profileId doesn't belong to the provider, Applivery rejects the save with a 400 error that names both:

Profile <profileId> not found in certificate provider <providerId>

Always take the profileId from the profiles list of that same provider.

Warning

Applivery discards any key it doesn't recognize in an assignment, without warning. A typo in a field name doesn't return an error: the field just isn't saved. After writing through the API, read the Policy again and check that it stored what you expected.

Check the certificates on a Device

A Device's Certificates tab lists the certificates installed on it, with their Subject, Issuer, Serial number, and validity period. The Identity label marks the certificates that include a private key.

Android certificate report

For Android Devices, the full details are in the Device's config.certificateReport[] field, which you get through the Applivery API. Use it to check that what the Device received matches what you configured:

Field

What to check

originId

It's the ID of the provider you expect.

commonName

It matches the Subject of the assigned profile, not the Default profile's.

keyPairAlias

It follows the profile's pattern and matches the alias in the Agent log.

certificateInfo.serialNumber

It only changes when the certificate is reissued.

certificateInfo.issuer

It's the same for every profile of a provider, because the CA is the same.

certificateInfo.subject

It contains the same CN as commonName.

state

It's installed when the certificate is on the Device.

numFailedRetries

It's 0 for a healthy request. A higher value means the retries ran out.

updatedAt

It matches the moment the Agent reported the installation.

Android Agent log

The Applivery Agent on Android has a Log Console. Filter by SCEP to see the I/SCEPEnrollment entries and a Certificate reporting completed line that names the alias used. That alias and the keyPairAlias from the API must be the same. If they don't match, the Dashboard and the Device disagree on which key was issued.

Warning

The challenge appears in plain text in the report. To document or report an issue, share its SHA-256 hash, never the challenge itself.

Example

You have one NDES server and need two different certificates:

  1. Create one Certificate Provider with the NDES Server URL and the challenge, using your own <your-ndes-server> values.

  2. In the first profile, enter the authority name as it appears on the issuing CA certificate, Key Size 2048, Key Usage Both, and Subject CN={{user.email}}.

  3. Click + Add profile and create a second profile, with its own authority name and subject, for a different destination in your Policy.

Your Apple SCEP payload and your Android WPA-EAP network each select the profile they need, without a second Certificate Provider.

Providers created before Certificate Profiles

If you created a Certificate Provider before profiles were available, open it: its previous authority name, key, and subject now make up the Default profile. The authority name, which used to sit under Server Configuration, is now in that profile, and the Server Configuration only keeps the shared fields.

The conversion guarantees that:

  • The resulting profile is the Default profile, and its ID is the same as the provider's ID.

  • The subject, subject alternative names, key size, key type, and key usage keep their exact values, now inside the profile. The subject keeps its original {{…}} tags.

  • The provider's own settings no longer include those fields.

  • The key pair alias is still apl-scep-<providerId>, with no suffix.

That's why Devices don't notice the change: they keep their certificate with the same serial number and the same alias. The conversion doesn't reissue certificates.

Policies that already used the provider keep using its Default profile, so you don't need to recreate anything. The Connector Token stays on the provider, and you can add more profiles with + Add profile.

Manage Certificate Providers through the API

All the operations use the base path /organizations/{organizationId}/certificate-providers:

Operation

Description

GET /

Lists the organization's providers.

POST /

Creates a provider. The objects in profiles can't include an id.

GET /{id}

Returns config and profiles, each profile with its config and its keyPairAlias.

PUT /{id}

Replaces the provider. Leaving out a profile deletes it.

Warning

Applivery assigns the profile IDs. If you include an id in a profile when you create a provider, the request is rejected with a 4xx error, and the provider isn't created.

Edit a provider with PUT

A PUT doesn't patch the profiles list, it replaces it. Any profile you leave out of the request body is deleted:

// Provider with P-ONE and P-TWO. This PUT keeps only P-ONE:
{
  "config": { …unchanged… },
  "profiles": [ { "id": "<P-ONE id>", … } ]
}
// Result: one profile. P-TWO no longer exists.

To edit a provider safely, always follow the same pattern: GET the provider, change the response, and PUT the full object. The IDs of the profiles you keep don't change.

  • If you leave out a profile that a Policy uses, the PUT is rejected with a 4xx error and the provider stays as it was, with all its profiles and their IDs. Remove the profile from the Policy first, or delete the Policy, and then edit the provider.

  • Don't send keyPairAlias in a PUT: it's read-only. A later GET always returns the correct alias.

Response format

{
  "id": "<providerId>",
  "name": "Corporate SCEP Certificates",
  "config": {
    "type": "scep",
    "serverUrl": "https://scep.mycompany.com/scep",
    "CAFingerprint": "A789E5…AB18",
    "retries": 3,
    "retryDelay": 10,
    "challenge": { "mode": "ndes", … }
  },
  "profiles": [
    {
      "id": "<profileId>",
      "keyPairAlias": "apl-scep-<providerId>",
      "config": {
        "name": "Corporate Wi-Fi",
        "subject": "CN=%UserName%,O=MyCompany",
        "subjectAltName": { … },
        "keySize": 2048,
        "keyType": "RSA",
        "keyUsage": "both",
        "keyIsExtractable": true,
        "allowAllAppsAccess": false
      }
    },
    { … }
  ]
}

The provider's config holds the shared settings, and each profiles[].config holds that profile's settings. retries and retryDelay only appear once, at provider level, while subject, keySize, keyUsage, and keyType only appear inside profiles[].config.

Key Takeaways

  • One provider holds one SCEP server and challenge, shared by all its profiles.
  • Each profile defines its own authority name, key and subject.
  • The challenge can be None, Manual or NDES, with a pool of single-use challenges.
  • One Auth Connector and one Connector Token serve every profile.
  • The Default profile and profiles in use by a Policy can't be removed.
  • Changing a profile field reissues only that profile's certificates; changing a provider field reissues them for every profile.
  • Existing providers keep their previous settings as the Default profile, with no reissue.

A resource under Resources that stores one SCEP connection, meaning the server and the challenge, and one or more Certificate Profiles.

The authority name, key settings and subject for one certificate request. Every profile on a provider shares its server and challenge configuration, and Policies select which profile to use.

No. Add a profile to the same provider with + Add profile when you need a different authority, key or subject.

Yes, unless it's the Default profile or a Policy still uses it. Those two can't be removed.

In the SCEP payload of an Apple Policy, set Source to Certificate Provider, then pick the provider and the profile.

If you change a profile field, only the Devices assigned to that profile. If you change a provider field, such as Retry Delay or the challenge, the Devices on every profile of that provider.

Through the Applivery API, with the certificateProviderAssignments list of the Policy. If you leave out profileId, the Policy uses the Default profile.

Their authority, key and subject become the Default profile, with the same key pair alias. Devices keep their certificates and Policies keep working, so you don't need to recreate anything.

Was this page helpful?

Last updated: October 20, 2026