I created a configuration profile to install an Active Directory computer certificate in users' workstations. The profile works. But when the certificate is installed, it is placed in the System keychain. So upon first launch of the app using the certificate (Cisco AnyConnect VPN) , the user is prompted to provide credentials for an admin account so the app can check the certificate. Since we don't give users admin accounts, I have to change this behavior.
I have found that if I go into Keychain Access after the config profile has run, two items have been added to the System keychain: the machine cert and a private key from the certificate server. If I manually change the access to that private key to "Allow all applications to access this item." then the AnyConnect client will run without prompting for admin credentials.
Changing access to the private key is easy in the GUI, but I have not found a way to do it in terminal. There seems to be a way to do when you import the cert, but not after the fact. And since the config profile is importing the cert, I have no way to tell it to allow access to all apps. Has anyone run into this issue? And did you find a solution?
Bob Reed