Create a User Level macOS SCEP Profiles Policy

This policy configures Simple Certificate Enrollment Protocol (SCEP) for your Mac computers. SCEP makes issuing digital certificates easier, more secure, and scalable. You’ll need a Certificate Authority (CA) to issue the device credentials using SCEP. The fields in this SCEP Profiles policy are added to the SCEP payload.

Note:

This is a user level policy that applies to a user's profile across managed devices. You can bind this policy to individual users or user groups. For policies that apply system-wide to a device and all of its users, see Get Started: Policies and Learn More section of this article.

The macOS policy works on all JumpCloud macOS supported operating systems that are enrolled in Mobile Device Management (MDM).

Prerequisites

  • Apple Mobile Device Management (MDM) must be configured for your organization and Mac computers must be enrolled in JumpCloud MDM. See Set up Apple MDM
  • This policy is supported on Mac computers running macOS 11 and later.
  • Devices must have an active network connection for this policy to take effect.

Considerations

  • The policy configuration settings are applied automatically and do not require a system restart.

Creating the Policy

To create a SCEP Profiles policy for users of Mac computers, do the following:

Selecting the Policy Template

  1. Log in to the JumpCloud Admin portal.

Important:

If your data is stored outside of the US, check which login URL you should be using depending on your region. If your organization uses LDAP, RADIUS, or requires firewall allow list configuration, the Fully Qualified Domain Names (FQDNs) will also be region specific. See JumpCloud Data Centers for the URLs, FQDNs, and IP addresses.

  1. Go to Device Management > Policy Management. The Policy Management page is displayed.
  2. On the Policy Management page, click +Add New.
  3. Select User Policy to assign the policy to users and users groups. On the New User Policy page:
    • Select the macOS tab.
    • Search and select the required policy and click Configure. The Details tab of the policy is displayed.
    • On the Details tab, configure the required policy configuration settings.
    • (Optional) In the Policy Name field, enter a new name for the policy or keep the default. Policy names must be unique.
    • (Optional) In the Policy Notes field, enter details such as creation date of the policy, and information on testing and deployment of the policy.

Configuring the Policy

  • (Optional) Enter a Base64 encoded string in the Fingerprint field.
    • You will need to convert the current SHA1 or SHA256 fingerprint, represented as a series of hexadecimal values, to a Base64 encoding of a "bytes" object. From the macOS Terminal, run the following command, replacing the fingerprint value with your Certificate Authority’s:
      • Note: The characters delimiting the hexadecimal pairs within the fingerprint value are not sensitive - meaning that strings using colons, spaces, or no delimiters at all are equally valid for input.
      • Enter the resulting Base64 encoded string in the Fingerprint field.

echo "11:22:33:44:aa:bb:cc:dd" | xxd -r -p | base64

  • For Challenge, enter the pre-shared secret, which generally identifies the request or the user who is requesting the profile. This policy type requires a static challenge and will not work with a dynamic challenge.
  • Click Key Size to choose the size of the key: 1024, 2048, or 4096 bits. The default is 1024.
  • For Subject, click Add Value and enter the Object Identifier (OID) and its value for the X.500 name. For example: /C=US/O=ABCEnterprise/CN=foo/1.2.5.3=bar. This field supports one OID statement, so you should encapsulate all the fields in a single statement.
  • For Retries, enter the number of times the device should retry if the server sends a Pending response. The default is 3.
  • Select Extractable Key to export the private key from the keychain. Generally, you should not export this private key. 
  • For Key Usage, enter the purpose for the SCEP certificate and keypair, and which bitmask to use for the private key. Enter Signing for digital signature or Encryption for encryption.
  • For Retry Delay, enter the number of seconds to wait between subsequent retries. The first retry is attempted without this delay. The default is 10. 
  • For URL, enter the SCEP server’s URL. For example: http://scep-server/cgi-bin/pkiclient.exe.
  • For Name, enter a unique name for the payload that’s understood by the SCEP server. For example, WiFi Certificate. If a CA has multiple CA certificates, this field is used to distinguish which is required. 
  • Select Include Root Certificate to upload the certificate for the Certificate Authority to add to the device’s trusted anchors list. 
  • If you selected Include Root Certificate, click upload file for Root Certificate This certificate should not include public keys and should be in the .cer or .crt format. File size must be smaller than 1 MB. 
  • Select Set Subject Alternative Name to determine subject alternative names characteristics for the SCEP certificate.
  • If you selected Set Subject Alternative Name, under Subject Alternative Name choose one or more values that are required by the CA to issue a certificate:
    • For DNS Name, enter the DNS name of the CA server. For example, mac1.example.com. This can be a variable from the device’s current status as drawn from Apple’s list of hardware variables. 
    • For Principal, enter the name of the NT principal used in the organization. This can be a variable from the device’s current status as drawn from Apple’s list of hardware variables. 
    • For RFC 822, enter the email address needed for the certificate request.This can be a variable from the device’s current status as drawn from Apple’s list of hardware variables. 
    • For URI, enter the fully-qualified Uniform Resource Identifier for the CA server. This can be a variable from the device’s current status as drawn from Apple’s list of hardware variables.

Applying the Policy

  • (Optional) Select the Policy Groups tab. Select one or more policy groups where you want to add this policy. 
  • Select the User Groups tab. Select one or more user groups where you want to apply this policy. For user groups with multiple OS member types, the policy only applies when a user logs into a supported Mac computer that is enrolled in Apple MDM.
  • Or, select the Users tab. Select one or more users to whom you want to assign this policy to.
  • Click Create Policy. A success message is displayed indicating the completion of policy creation.

Viewing Policy Status

  1. Select the Status tab.
  2. To see the last Result Log for a device where this policy is applied, click view.

Note:
  • If any errors occur, they're listed in Exit Status. If you have an Exit Status of 0, no errors occurred when applying or enforcing this policy.
Back to Top

Still Have Questions?

If you cannot find an answer to your question in our FAQ, you can always contact us.

Submit a Case