Changing The Cisco AnyConnect Default Host Name

Microsoft Dynamics GPWe use Cisco AnyConnect at internally at work and for a number of clients. I use the internal VPN a lot more often than connecting to the clients who also use AnyConnect.

Unfortunately, the work VPN is the one which AnyConnect does not remember. There may be a way to have AnyConnect remember more than one, but for now I’d settle for being able to change the Default Host Name.

Well, fortunately, there is a preferences.xml file which can be amended. The file can be found in the following location (replace the highlighted section with your username):

C:\Users\{username}\appdata\local\cisco\Cisco AnyConnect Secure Mobility Client

Find the following line and you can replace thie highlighted section with the address you want to have as the default:

<DefaultHostName>{hostname}</DefaultHostName>

Error 778: It Was Not Possible To Verify The Identity Of The Server

Microsoft Dynamics GPTaking a slight diversion from my usual subject matter with this post. I was trying to connect to a clients system via VPN a short while ago when I received error 778:

Error 778: It was not possible to verify the identity of the server

Error 778: It was not possible to verify the identity of the server

I did a little digging and found that this error actually relates to the username and password being incorrect. I checked our records and found that the password had been reset since the last time I logged on; after entering the new details I was able to log in successfully.

It would be nice if the error message had been a little more descriptive of the actual problem, but at least it was a simple solution.