ActiveDirectoryCertificate
The payload that configures Active Directory Certificate settings.
Declaration
object ActiveDirectoryCertificateProperties
| Name | Type | Description |
|---|---|---|
AllowAllAppsAccess | boolean | If |
CertificateAcquisitionMechanism | string | This value is most commonly |
CertificateAuthority | string | The name of the certificate authority (CA), which is determined from the common name (CN) of the Active Directory entry. Available in macOS 10.8 and later. Valid values:
|
CertificateRenewalTimeInterval | integer | The number of days in advance of certificate expiration that the notification center notifies the user. |
CertServer Required | string | The fully qualified host name of the CA. |
CertTemplate Required | string | The certificate template for your environment. The default user certificate value is `User`. The default computer certificate value is `Machine`. |
Description | string | A user-friendly description of the certification identity. |
EnableAutoRenewal | boolean | If |
KeyIsExtractable | boolean | If |
Keysize | integer | The RSA key size for the certificate signing request (CSR). Available in macOS 10.11 and later. |
PromptForCredentials | boolean | If |
Discussion
Specify com.apple.ADCertificate.managed as the payload type.
To get a certificate from a Microsoft CA, follow the instructions at Request a certificate from a Microsoft Certificate Authority.
Profile availability
Device channel | macOS |
User channel | macOS |
Allow manual install | macOS |
Requires supervision | NA |
Requires user-approved MDM | NA |
Allowed in user enrollment | macOS |
Allow multiple payloads | macOS |
Example Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>CertServer</key>
<string>server.example.com</string>
<key>CertTemplate</key>
<string>MachineUser</string>
<key>CertificateAcquisitionMechanism</key>
<string>RPC</string>
<key>CertificateAuthority</key>
<string>Example</string>
<key>Description</key>
<string>Active Directory Certificate</string>
<key>PromptForCredentials</key>
<false/>
<key>PayloadIdentifier</key>
<string>com.example.myADcertpayload</string>
<key>PayloadType</key>
<string>com.apple.myadcertificate.managed</string>
<key>PayloadUUID</key>
<string>59729e65-4c09-4fa1-b367-7a38cfd1b190</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Active Directory Certificate</string>
<key>PayloadIdentifier</key>
<string>com.example.myprofile</string>
<key>PayloadType</key>
<string>com.apple.ADCertificate.managed</string>
<key>PayloadUUID</key>
<string>55a22a34-02b7-49d8-8116-ea95c3545261</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>