WARNING: No server certificate verification method has been enabled
Posted: Mon May 01, 2017 10:10 am
I am trying to build one openvpn network with a server and a remote client.Both are linux computer and use ubuntu.
Server tunnel has been activated properly
after trying to activate the openvpn in the client with the command "openvpn --config /etc/openvpn/client.ovpn" , I get the warning-error message:
WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Nonetheless the client.ovpn and the server.conf have a certification file.
I copy both.
Client.ovpn:
client
ca /etc/openvpn/ca.crt
dev tun
proto udp
dh /etc/openvpn/dh2048.pem
remote 92.222.86.41 1194
resolv-retry infinite
nobind
persist-key
persist-tun
cert /etc/openvpn/ServerRemoto1.crt
key /etc/openvpn/ServerRemoto1.key
comp-lzo
verb 4
float
server.conf:
port 1194
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh2048.pem
server 10.10.10.0 255.255.255.0
crl-verify /etc/openvpn/01.pem
ifconfig-pool-persist /etc/openvpn/ipp.txt
route "192.168.0.0 255.255.255.0"
cipher DES-CFB
user root
group nogroup
status /var/log/openvpn/openvpn-status.log
log /var/log/openvpn/openvpn.log
log-append /var/log/openvpn/openvpn.log
verb 3
mute 20
I NEED URGENT HELP!!!!!!
thank you to mercy son
Server tunnel has been activated properly
after trying to activate the openvpn in the client with the command "openvpn --config /etc/openvpn/client.ovpn" , I get the warning-error message:
WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Nonetheless the client.ovpn and the server.conf have a certification file.
I copy both.
Client.ovpn:
client
ca /etc/openvpn/ca.crt
dev tun
proto udp
dh /etc/openvpn/dh2048.pem
remote 92.222.86.41 1194
resolv-retry infinite
nobind
persist-key
persist-tun
cert /etc/openvpn/ServerRemoto1.crt
key /etc/openvpn/ServerRemoto1.key
comp-lzo
verb 4
float
server.conf:
port 1194
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh2048.pem
server 10.10.10.0 255.255.255.0
crl-verify /etc/openvpn/01.pem
ifconfig-pool-persist /etc/openvpn/ipp.txt
route "192.168.0.0 255.255.255.0"
cipher DES-CFB
user root
group nogroup
status /var/log/openvpn/openvpn-status.log
log /var/log/openvpn/openvpn.log
log-append /var/log/openvpn/openvpn.log
verb 3
mute 20
I NEED URGENT HELP!!!!!!
thank you to mercy son