由于Chanson Code小弟在一家外企工作(不要鄙视我哦^_^),常常有客户要用Cisco VPN Client来配合Kit Nomad及Smart Card来连接公司内部网络,在Cisco VPN Client的使用中最最最常见的两个错误就是Error 31 和 Error 412了,以下内容的英文是小弟从官方网站上查了很久,找到的常用方法,并加入中文解释,方便英文不好的朋友参考。
Windows Error 31
When running on Windows Vista or Windows XP operating systems, you might encounter the error 31:
在Windows Vista 和Windows XP操作系统中,您可能会遇到错误31:
“The certificate () associated with this Connection Entry no longer exists or failed to open. Please select another certificate.”
“所关联的证书不存在或者无法打开,请选择另一证书。”如下图:

To fixed it, just right click the connection point, select “Modify” –>Authentication, then select proper certificate and click “OK”. If there’s no certificate, Pls. make sure you already imported it or make sure your smart card is inserted correct.
要解决这个问题,只需要右键选择您的接入点并选择”Modify”–>Authentication(授权),然后选择您的证书就可以了,通常在外企,Cisco VPN Client都是用物理token的,所以通常也要选择有您的用户名和账号那一项,然后点OK。如果在这里看不到证书的话,您的Smart Card 可能没有正确插入读卡器中哦!
Windows Error 412
Windows错误412
When running on Windows Vista or Windows XP operating systems, you might encounter the error 412: “The remote peer is no longer responding.”
大概意思和上面差不多,这里的错误412,是说你遇到一个错误,提示说“远程接入点无响应”。如下图所示:

To work around this error on either Windows Vista or Windows XP, upgrade the localNATdevice firmware. If this is not possible, switch toTCP. If switching toTCPis not possible, use the following keyword in the connection profile (*.pcf):
要解决这个问题,您可以升级您的本地的NAT设备的固件(这个其实不可能,外企的路由和交换机这些,基本上轮不到你去碰,他们也不可能轻易去搞这个东东,要宕机的,谁愿意呢?)。
如果这不可能,您可以试试改用TCP协议,这个东东在上面错误31那里Modify里面,有个Transport,默认用的不是这个,你可以选成它给的TCP 10000端口(Chanson Code经过实践证明,改这个的话通常对家庭的网络和WIFI无线连接起作用哦!)。
如果还是不能这么做,OK,请按下面方法来修改PCF文件,找到那个PCF文件(这个东东是Cisco VPN Client安装目录里面的profiles目录里的接入点信息文件哦):
UseLegacyIKEPort=1
Note If you are using Domain Isolation, you cannot use the UseLegacyIKEPort keyword, as this conflicts with Microsoft Domain Isolation.
但这里又说了,你如果在Windows域环境里面的话,修这个是木有用的哦!Chanson Code也知道,大家在公司基本都是Windows域环境,所以这招基本上是白搭,不过本人还真没试过哦,您可以试试,如果能用,麻烦您告诉我哦!呵呵,所以,基本上只能用改通信端口那一招了……
Issue CSCsi02975: Installation of Cisco VPN Client in Japanese Windows
在日语Windows环境中安装Cisco VPN Client的问题
VPN Client Microsoft Installer 5.0.00.0340-MSI.exe can not be installed correctly on
VPN Client 5.0.00.0340不能在以下系统中正常安装(小弟公司里用的还是4.0.5呢……):
Japanese Windows Platforms Condition:
Japanese Windows Vista version 6.0 Build 6000
Japanese Windows XP Professional SP2
Japanese Windows 2000 Professional SP4
Workaround, do one of the following:
解决方法如下:
–Use InstallShield 5.0.00.0340-IS.exe on Windows XP or Windows 2000.
用5.0.00.0340-IS.exe这个文件来安装,看清楚哦,后面是IS,上面那个文件是MSI!对于下载,可能有朋友会留言问我去哪里下载,不好意思,我这里也不能帮到您,我找过了,网上有部分朋友的Blog是有提供下载地址的,大家自己去搜索一下,谢谢。
–All platforms:
对于所有平台(这是第二方法了):
a. Extract vpnclient-win-msi-5.0.00.0340-k9.exe to any folder.
a. 解压这个vpnclient-win-msi-5.0.00.0340-k9.exe (晕,看清楚了,这个文件是对所有Windows平台哦,又不是上面那个了哦!)到任意文件夹。
b. Execute vpnclient_setup.msi. Installer runs in English.
b.点这个setup.msi这个东东去以英文界面来安装Cisco VPN Client。
c. After installation is complete, modify vpnclient.ini as follows:
c. 安装完成后,修改安装目录下的vpnclient.ini文件如下:
ClientLanguage=jp
d. Launch VPN Client; GUI is in Japanese.
d. 运行安装好的Cisco VPN Client,界面已经变为日语界面了,呵呵(不过本人真没有在日语界面中试过哦,也不想试,呵呵)。
欢迎各位朋友如果有任何想法,烦请您给Chanson Code’s Blog留言,谢谢您哦!
好博文,并祝博主情人节快乐啊。 http://www.52bb.org/
博主好文采,博文很是精辟,支持下。http://www.shuipingzuo.org/