Mac OS X asks for Admin Username and Password twice before allowing access to Cisco AnyConnect VPN

16

7

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?

Jake Toronto

Posted 2018-03-22T17:49:24.180

Reputation: 419

How do I block this request that I get (3 times) before it gets to the correct cert on the smartcard? – MattPark – 2019-11-01T15:12:01.950

Answers

15

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

Jake Toronto

Posted 2018-03-22T17:49:24.180

Reputation: 419

1I've looking for this answer for ages! Thanks – raed – 2018-07-13T08:39:12.617

3This 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 – 2018-12-01T07:22:35.867

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 – 2019-11-02T22:12:41.317