FreeBSD 8.x Ports方式安装openvpn提示FAIL: t_cltsrv.sh

在一台freebsd 8.x系统上通过ports方式安装openvpn进行到测试阶段时提示出错,没法完成安装,错误信息如下:
The following test will take about two minutes.
If the addresses are in use, this test will retry up to two times.
clt:tls-error

Fri Mar 10 11:07:43 2017 OpenVPN 2.1.4 i386-portbld-freebsd8.2 [SSL] [LZO2] buil t on Mar 10 2017
Fri Mar 10 11:07:43 2017 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Fri Mar 10 11:07:43 2017 NOTE: the current –script-security setting may allow t his configuration to call user-defined scripts
Fri Mar 10 11:07:43 2017 OpenVPN 2.1.4 i386-portbld-freebsd8.2 [SSL] [LZO2] buil t on Mar 10 2017
Fri Mar 10 11:07:43 2017 NOTE: the current –script-security setting may allow t his configuration to call user-defined scripts
Fri Mar 10 11:07:43 2017 WARNING: file ‘sample-keys/client.key’ is group or othe rs accessible
Fri Mar 10 11:07:43 2017 Diffie-Hellman initialized with 1024 bit key
Fri Mar 10 11:07:43 2017 WARNING: file ‘sample-keys/server.key’ is group or othe rs accessible
Fri Mar 10 11:07:43 2017 Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET: 0 EL:0 ]
Fri Mar 10 11:07:43 2017 Socket Buffers: R=[42080->65536] S=[9216->65536]
Fri Mar 10 11:07:43 2017 Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Fri Mar 10 11:07:43 2017 Local Options hash (VER=V4): ‘0b2b92a2’
Fri Mar 10 11:07:43 2017 Expected Remote Options hash (VER=V4): ‘914df5fc’
Fri Mar 10 11:07:43 2017 UDPv4 link local (bound): 127.0.0.1:16100
Fri Mar 10 11:07:43 2017 UDPv4 link remote: 127.0.0.1:16101
Fri Mar 10 11:07:43 2017 Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET: 0 EL:0 ]
Fri Mar 10 11:07:43 2017 Socket Buffers: R=[42080->65536] S=[9216->65536]
Fri Mar 10 11:07:43 2017 Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Fri Mar 10 11:07:43 2017 Local Options hash (VER=V4): ‘914df5fc’
Fri Mar 10 11:07:43 2017 Expected Remote Options hash (VER=V4): ‘0b2b92a2’
Fri Mar 10 11:07:43 2017 UDPv4 link local (bound): 127.0.0.1:16101
Fri Mar 10 11:07:43 2017 UDPv4 link remote: 127.0.0.1:16100
Fri Mar 10 11:07:43 2017 TLS: Initial packet from 127.0.0.1:16101, sid=f53f2a0c 39bdfbaa
Fri Mar 10 11:07:43 2017 TLS: Initial packet from 127.0.0.1:16100, sid=f3eb5aba 7d0c792d
Fri Mar 10 11:07:43 2017 VERIFY ERROR: depth=1, error=certificate has expired: / [email protected]in
Fri Mar 10 11:07:43 2017 TLS_ERROR: BIO read tls_read_plaintext error: error:140 90086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Fri Mar 10 11:07:43 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Mar 10 11:07:43 2017 TLS Error: TLS handshake failed
Fri Mar 10 11:07:43 2017 TCP/UDP: Closing socket
Fri Mar 10 11:07:43 2017 Closing TUN/TAP interface
Fri Mar 10 11:07:43 2017 t_cltsrv-down.sh null 1500 1541 init
Fri Mar 10 11:07:43 2017 SIGTERM[soft,tls-error] received, process exiting
FAIL: t_cltsrv.sh
====================================================
1 of 2 tests failed
Please report to [email protected]
====================================================
*** Error code 1
Stop in /usr/ports/security/openvpn/work/openvpn-2.1.4.
*** Error code 1
Stop in /usr/ports/security/openvpn/work/openvpn-2.1.4.
*** Error code 1
Stop in /usr/ports/security/openvpn/work/openvpn-2.1.4.
*** Error code 1
Stop in /usr/ports/security/openvpn.
*** Error code 1
Stop in /usr/ports/security/openvpn.

解决方案:
[[email protected] ~]#cd /usr/ports/security/openvpn
[[email protected] ~]#make clean
[[email protected] ~]#make WITHOUT_CHECK=YES install clean

原文链接:,转发请注明来源!

发表评论