OpenVPN 客户端连接时不能装载client.crt错误

XP安装Openvpn,按照readme生成证书,修改server配置

证书文件和server.ovn都放在config目录下,server.ovn不必指定路径名,不需要考虑\\问题。

但是客户端连接时,提示不能装载client.cer文件


When I start the openvpn service at server I get the following error

当我启动openvpn服务时,遇到下列错误


Starting openvpn: SIOCDELRT: No such process

启动openvpn: 没有此进程

&

I am getting this error while running opnvpn client

当运行openvpn客户端时,得到这个错误


Wed Apr 26 23:20:31 2006 us=69452 OpenVPN 2.0.7 Win32-MinGW [SSL] [LZO] built on Apr 12 2006
Wed Apr 26 23:20:36 2006 us=966358 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Apr 26 23:20:36 2006 us=970083 Cannot load certificate file client.crt: error:0906D06C:PEM routines:PEM_read_bio:no start line: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
Wed Apr 26 23:20:36 2006 us=971579 Exiting


(其他人回复,解决问题)


I had exactly the same problem..

我遇到相同问题

I resolved the client side issue, by defining the 'client.crt' correctly.

我是这样解决客户端问题的,正确定义 'client.crt'

i.e. I noticed that my 'client.crt' had 0 byte size.

例如,我注意到我的 'client.crt' 大小为0

Something was going wrong in the Build..

有时候 是在编译时发生错误..

It was me ! I can't read !

我!我不能读!

An easily overlooked instruction in the swert's howto is:

在swert's howto 中容易忽略的指令:

"Use "Client" as "Common Name" and "VPN" for "Organizational Unit  Name"."

Common Name  的值为 Client, Or Unit Name的值为 VPN。


经验证,可以解决生成.crt文件为0字节的问题,包括server.crt。

阅读更多
个人分类: 电脑网络
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭