Problem Saving Details Into The Keychain
Viscosity allows users to save their VPN login details, certificate passwords, and proxy login details into the macOS Keychain by ticking the Remember details in my Keychain checkbox when prompted. If this checkbox is ticked, but Viscosity continues to prompt for login details, there are a number of things to check:
Keychain Entry Corruption
Existing Keychain entries made by Viscosity can become corrupted in rare instances and hence should be removed. This can be done like so:
Items in the Keychain have an Access Control List (ACL) associated with them. In some instances the ACL can be modified or corrupted, resulting in Viscosity losing access to the Keychain item.
- Using the Spotlight Search icon in the menu bar, search for and open
Keychain Access. - Use the search box to search for the saved details by entering
Viscosity. All saved connections by Viscosity should appear. - Look for the appropriate search results. Viscosity will save Keychain entries as an "application password" as two separate entries: one for your username and one for your password.
- Delete the items. Repeat the above steps if you have multiple connections.
Quit and reopen Viscosity, then try saving the details again.
Keychain Issue
The most serious cause for Viscosity failing to remember login details is that there is a problem with the Keychain itself. Recent versions of macOS no longer provide "Keychain First Aid" functionality, instead replacing it with a "Reset Default Keychains" option.
The Reset Default Keychains option will completely reset the Keychain, resulting in all existing saved passwords, certificates, keys, and notes being lost (not just those associated with Viscosity). It should only be used as a last resort, and all important items should be backed up first.
The Keychain can be reset like so:
- Using the Spotlight Search icon in the menu bar, search for and open
Keychain Access. - Go to the Keychain Access menu and select Settings
- Click the
Reset Default Keychains...button
Quit and reopen Viscosity, then try saving the details again.
Enterprise Configuration
If the Remember details in my Keychain checkbox is disabled, your VPN administrator may have disabled the ability to save login details into the Keychain to increase security. In this instance you should contact your VPN administrator for more information.