Verify-x509-name
Posted: Mon Jun 29, 2015 6:37 pm
Hi guys,
I'm new at using OpenVPN and I have run into an issue. I use my DDWRT router to host an OpenVPN server, and a OnePlus One running Android 4.4.2 and OpenVPN Connect 1.1.16 to connect to it. It's all working fine, TLS authentication included. Now, I read through some tutorials to make OpenVPN more secure and found some information regarding the "verify-x509-name" command to tighten security a little more. I am using the following line in the client profile on my Android smartphone:
Now, elephant is not the CN of my OpenVPN server and it still connects anyway. It doesn't matter what I enter there; it's as if the line is just ignored. I've also tried adding quotes around the name and tried some other variants where the entire subject is checked, but to no avail. I searched on the internet to see if there is anything to be done server-side to make the verify-x509-name command work but didn't find anything of the sort. I suspect that the problem has something to do with the Android client, so I thought I'd ask here.
So my question is: does the OpenVPN Connect client support this command? If so, what am I doing wrong?
Thanks!
Xyrr
I'm new at using OpenVPN and I have run into an issue. I use my DDWRT router to host an OpenVPN server, and a OnePlus One running Android 4.4.2 and OpenVPN Connect 1.1.16 to connect to it. It's all working fine, TLS authentication included. Now, I read through some tutorials to make OpenVPN more secure and found some information regarding the "verify-x509-name" command to tighten security a little more. I am using the following line in the client profile on my Android smartphone:
Code: Select all
verify-x509-name elephant name
So my question is: does the OpenVPN Connect client support this command? If so, what am I doing wrong?
Thanks!
Xyrr