X509 name was missing in TLS mode

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
davidsun
OpenVpn Newbie
Posts: 1
Joined: Wed Jul 29, 2020 3:38 am

X509 name was missing in TLS mode

Post by davidsun » Wed Jul 29, 2020 3:46 am

I added this line to the end of my conf file:

Code: Select all

verify-x509-name l***********y name
and I even added this param to command line while starting openvpn service like

Code: Select all

--verify-x509-name ldscompany name
but I still got this error over and over again
what am I supposed to do to avoid this error?
here is the full config file:
Server config
1
proto udp
2
lport 9999
3
dev tun
4
topology subnet
5
push "route 172.17.16.120 255.255.255.255"
6
push "dhcp-option DNS 172.17.16.1"
7
push "dhcp-option DNS 114.114.114.114"
8
user openvpn
9
group openvpn
10
cd /home/openvpn/openvpn
11
persist-key
12
persist-tun
13
daemon
14
passtos
15
log-append /home/openvpn/openvpn/openvpn.log
16
server 10.8.0.0 255.255.255.0
17
dh /home/openvpn/openvpn/dh2048.pem
18
ca /home/openvpn/openvpn/ca.key
19
cert /home/openvpn/openvpn/l******y.crt
20
key /home/openvpn/openvpn/l******y.key
21
keepalive 60 120
22
tmp-dir /home/openvpn/openvpn/tmp
23
auth-user-pass-verify /home/openvpn/openvpn/authentication.sh via-file
24
ifconfig-pool-persist /home/openvpn/openvpn/clientips.txt
25
tls-auth /home/openvpn/openvpn/ta.key 0
26
verify-x509-name l**********y name

Thank you very much
Last edited by Pippin on Wed Jul 29, 2020 6:36 am, edited 1 time in total.
Reason: Formatting

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: X509 name was missing in TLS mode

Post by Pippin » Wed Jul 29, 2020 6:38 am

davidsun wrote:
Wed Jul 29, 2020 3:46 am
but I still got this error over and over again
We see no error.
viewtopic.php?t=22603
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

Post Reply