19

OS X asks me -- twice -- to enter my admin username and password before it will let me connect to Cisco AnyConnect VPN. This is annoying and unnecessary.

Text of the prompt:

OS X wants to make changes. Type an administrator's name and password to allow this.

OS X wants to use the "System" keychain.

OS X wants to make changes

How can I configure the keychain to allow Cisco VPN access without prompting unnecessarily?

  • How do I block this request that I get (3 times) before it gets to the correct cert on the smartcard? – MattPark Nov 1 '19 at 15:12
22

Found the answer on a Google Groups forum:

• Launch /Applications/Utilities/Keychain Access

• Select "System" from the Keychains menu in the upper left

• Select "Certificates" from the Category menu in the lower left

• Find the entry that corelates to your computer's name in the list on the right, and click on the disclosure triangle.

• Secondary click on the "Private Key" entry that appears and select "Get Info" from the contextual menu that appears.

• Select the Access Control tab.

• You can then either add AnyConnect to the the list at the bottom of the screen (more secure, but you will need to repeat this process anytime the version of AnyConnect changes), or toggle the radio button to "Allow all applications to access this item".

A similar answer shows a picture but provides fewer instructions

| improve this answer | |
  • 1
    I've looking for this answer for ages! Thanks 🙏 – raed Jul 13 '18 at 8:39
  • 4
    This was very useful in pointing me to the right spot; however, for others who may be getting here, the "entry that correlates to your computer's name" was not what worked for me: in my case, adding AnyConnect to the localhost entry did not fix the issue; what did, was adding it to a seeming "random hex" entry. – Marco Massenzio Dec 1 '18 at 7:22
  • For me, on two computers, the causative item was under "login" (instead of "System"). Removing the item solved the problem. In both cases it appeared that AnyConnect was trying to access a private key it didn't need. Anyways, thanks for the instructions! – AndyP Nov 2 '19 at 22:12
  • I was able to give permission to the app but even after saving, the access control list got reset. "Allow all applications to access this item" also didn't work...any suggestions? – rramakrishnaa Mar 31 at 20:08
  • Thank you! My first thought was to transfer from System to login keychains but this makes more sense. – SaundersB Apr 21 at 13:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.