Skip to content

Instantly share code, notes, and snippets.

@eb4x
Created March 8, 2018 15:36
Show Gist options
  • Save eb4x/a6badb601ffc40855c033fa16e5b232d to your computer and use it in GitHub Desktop.
Save eb4x/a6badb601ffc40855c033fa16e5b232d to your computer and use it in GitHub Desktop.
Apple .mobileconfig
<?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>PayloadType</key>
<string>com.apple.wifi.managed</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadIdentifier</key> <!-- same identifier as root-level with an additional component appended. -->
<string>com.example.macos.wifi</string>
<key>PayloadUUID</key>
<string>abcdef12-3456-7890-abcd-ef1234567890</string>
<key>PayloadDisplayName</key>
<string>Example Corporation WiFi (MySSID)</string>
<key>PayloadDescription</key>
<string>Configures WiFi settings for Example Corporation</string>
<key>PayloadOrganization</key>
<string>Example Corporation (WiFi Dept.)</string>
<key>SSID_STR</key>
<string>MySSID</string>
<key>HIDDEN_NETWORK</key>
<false/>
<key>AutoJoin</key>
<true/>
<key>EncryptionType</key>
<string>WPA</string>
<key>EAPClientConfiguration</key>
<dict>
<key>UserName</key>
<string>MyUsername</string>
<key>AcceptEAPTypes</key>
<array>
<!-- <integer>13</integer> TLS -->
<!-- <integer>17</integer> LEAP -->
<!-- <integer>18</integer> EAP-SIM -->
<!-- <integer>21</integer> TTLS -->
<!-- <integer>23</integer> EAP-AKA -->
<integer>25</integer> <!-- PEAP -->
<!-- <integer>43</integer> EAP-FAST -->
</array>
<key>UserPassword</key>
<string>MyPassword</string>
<!-- <key>PayloadCertificateAnchorUUID</key> <array> of <string> -->
<!-- <key>TLSCertificateIsRequired</key> <false/> -->
<!-- <key>TLSMinimumVersion</key> <string>1.0</string> -->
<!-- <key>TLSMaximumVersion</key> <string>1.2</string> -->
<!-- <key>OuterIdentity</key> <string> -->
</dict>
<!-- <key>IsHotspot</key> <false/> -->
<!-- <key>DomainName</key> <string> -->
<!-- <key>ServiceProviderRoamingEnabled</key> <false/> -->
<!-- <key>RoamingConsortiumOIs</key> <array> of <string> -->
<!-- <key>NAIRealmNames</key> <array> of <string> -->
<!-- <key>MMCAndMNCs</key> <array> of <string> -->
<!-- <key>DisplayedOperatorName</key> <string> -->
<key>ProxyType</key>
<string>None</string>
<!-- <key>ProxyServer</key> <string> -->
<!-- <key>ProxyServerPort</key> <integer> -->
<!-- <key>ProxyUsername</key> <string> -->
<!-- <key>ProxyPassword</key> <string> -->
<!-- <key>ProxyPACURL</key> <string> -->
<!-- <key>ProxyPACFallbackAllowed</key> <false/> -->
<!-- <key>CaptiveBypass</key> <false/> -->
<!-- <key>QoSMarkingPolicy</key> <dict> -->
<!-- <key>QoSMarkingWhitelistedAppIdentifiers</key> <array> of <string> -->
<!-- <key>QoSMarkingAppleAudioVideoCalls</key> <true/> -->
<!-- <key>QoSMarkingEnabled</key> <true/> -->
</dict>
</array>
<key>PayloadDescription</key>
<string>This will conform your macOS product to Example Corporation</string>
<key>PayloadDisplayName</key>
<string>Example Corporation Configuration</string>
<!-- <key>PayloadExpirationDate</key> <date> -->
<key>PayloadIdentifier</key>
<string>com.example.macos</string>
<key>PayloadOrganization</key>
<string>Example Corporation</string>
<key>PayloadUUID</key>
<string>12345678-90ab-cdef-1234-567890abcdef</string>
<!-- <key>PayloadRemovalDisallowed</key> <false/> -->
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadScope</key>
<string>System</string>
<!-- <key>RemovalDate</key> <date> Optional. -->
<!-- <key>DurationUntilRemoval</key> <float> Optional. Number of seconds until removal. If RemovalDate is defined, whichever is first if chosen. -->
<!-- <key>ConsentText</key> <dict> <key>IETF BCP 47</key> <string> -->
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment