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:
parent
e068851a66
commit
aef7cf8461
|
@ -1,6 +1,7 @@
|
||||||
#OpenVPN client conf
|
#OpenVPN client conf
|
||||||
tls-client
|
tls-client
|
||||||
client
|
client
|
||||||
|
ns-cert-type server
|
||||||
dev tun
|
dev tun
|
||||||
proto udp
|
proto udp
|
||||||
tun-mtu 1500
|
tun-mtu 1500
|
||||||
|
|
|
@ -5,7 +5,7 @@ LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
SRC_URI = "file://sysmocom-vpn.conf"
|
SRC_URI = "file://sysmocom-vpn.conf"
|
||||||
PR = "r3"
|
PR = "r4"
|
||||||
|
|
||||||
CONFFILES_${PN} = "${sysconfdir}/openvpn/sysmocom-vpn.conf"
|
CONFFILES_${PN} = "${sysconfdir}/openvpn/sysmocom-vpn.conf"
|
||||||
PACKAGE_ARCH = "all"
|
PACKAGE_ARCH = "all"
|
||||||
|
|
Loading…
Reference in New Issue