Problem Saving Details Into The Keychain
Knowledge Base > Troubleshooting > Problem Saving Details Into The Keychain
Viscosity allows users to save their VPN login details, certificate passwords, and proxy login details into the Mac OS X keychain by ticking the "Remember these details in the KeyChain" checkbox when prompted. If this checkbox is being ticked, but Viscosity continues to prompt for login details, there are a number of things to check:
KeyChain Issue
The most common cause for Viscosity failing to remember login details is that there is a problem with the user's KeyChain. The first step to resolving any potential problem is to run a KeyChain repair like so:
- Open the Keychain Access application. This can be found at /Applications/Utilities/Keychain Access.app
- Go to the File menu and select Keychain First Aid
- Enter your username and password, select Repair, and click the Start button
Viscosity should be restarted and the user attempt to save their details again once the above steps have been performed.
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:
- Go to /Applications/Utilities and open the Keychain Access application
- Use the search box to search for the saved details by entering the server address for your VPN connection. For example, if your VPN server is vpn.domain.com, enter "vpn.domain.com" into the search box.
- Look for the appropriate search result. Viscosity will save your VPN server details as an "Internet Password". If you double click on the item it should have something like "ovpn://vpn.domain.com:1194" in the Where field.
- Delete the item. Repeat the above steps if you have multiple connections.
- Quit and reopen Viscosity, and try connecting again.
Viscosity should be restarted and the user attempt to save their details again once the above steps have been performed.
Multiple Servers
Viscosity will ask for a username/password each time it sees a new server. A connection may have multiple servers associated with it (check the Remote Server Address field when editing the connection to see if more than one server is listed). If the connection is set to randomly choose a server, rather than only use the additional servers if the primarily server fails, the user may get asked for login details repeatedly until details have been saved for each server.
A workaround is to remove the additional servers if they are not needed, or make a new connection in Viscosity for each server.
Enterprise Configuration
If the "Remember these details in the 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.
|