Network Configuration - Enterprise Profile ID - How to Find It

stutz
Contributor

Does anyone know a command to get this string of characters? This is different than a PayloadUUID. Trying to create an Identity Preference item in the keychain based off of it. This will keep the users from having to select the computers device certificate in order to connect to the network.

The only place I've been able to find the Enterprise Profile ID is by going to "System Preferences > Profiles" and selecting the profile. This is a unique string will change each time the profile gets installed. This Enterprise ID seems to only show up when using a Network payload in a configuration profile.

762df604ba854fe18e0ee5896b66adbe

2 REPLIES 2

dsperring
New Contributor

Were you ever able to find a way to obtain this from Terminal? 

This should return just the Enterprise Profile ID.

security dump-keychain -r "/Library/Keychains/System.keychain" | grep -p "com.apple.network.eap.system.identity.profileid." | awk '{print $2}' | tr -d '"' | sed "s/<blob>=com.apple.network.eap.system.identity.profileid.//g" | sed -n 1p