Scripts to manage certificates or generate config files
Moderators: TinCanTech , TinCanTech , TinCanTech , TinCanTech , TinCanTech , TinCanTech
davidsun
OpenVpn Newbie
Posts: 1 Joined: Wed Jul 29, 2020 3:38 am
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:
View Original Server config
21
push "route 172.17.16.120 255.255.255.255"
23
push "dhcp-option DNS 172.17.16.1"
25
push "dhcp-option DNS 114.114.114.114"
35
cd /home/openvpn/openvpn
39
persist-key #重启进程不再读取key
41
persist-tun #重启进程不再打开tun
53
log-append /home/openvpn/openvpn/openvpn.log
57
server 10.8.0.0 255.255.255.0
63
dh /home/openvpn/openvpn/dh2048.pem
65
ca /home/openvpn/openvpn/ca.key
67
cert /home/openvpn/openvpn/l******y.crt
69
key /home/openvpn/openvpn/l******y.key
79
tmp-dir /home/openvpn/openvpn/tmp
85
auth-user-pass-verify /home/openvpn/openvpn/authentication.sh via-file
89
ifconfig-pool-persist /home/openvpn/openvpn/clientips.txt
91
tls-auth /home/openvpn/openvpn/ta.key 0
93
verify-x509-name l**********y name
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"
10
cd /home/openvpn/openvpn
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
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
Pippin
Forum Team
Posts: 1201 Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn
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