openvpn: Force the server to have a server certificate

This addresses the following warning of OpenVPN:

WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
This commit is contained in:
Holger Hans Peter Freyther 2014-12-25 09:59:50 +01:00
parent e068851a66
commit aef7cf8461
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#OpenVPN client conf
tls-client
client
ns-cert-type server
dev tun
proto udp
tun-mtu 1500

View File

@ -5,7 +5,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "file://sysmocom-vpn.conf"
PR = "r3"
PR = "r4"
CONFFILES_${PN} = "${sysconfdir}/openvpn/sysmocom-vpn.conf"
PACKAGE_ARCH = "all"