Message-ID: <49569685.3060108@...1148...> Date: Sat, 27 Dec 2008 21:56:37 +0100 From: Morten Christensen MIME-Version: 1.0 References: <48F11865.5080903@...1135...> <495628C0.7060405@...1135...> <9e0cf0bf0812270738s2a248adcx6967116ee58e1edd@...278...> <4956551D.7030700@...1148...> <9e0cf0bf0812271015q1bfcf453j8dd94f216945ad2e@...278...> <49567616.8020406@...1148...> <9e0cf0bf0812271111y7e02691au99114ef2cc0cd139@...278...> <4956821E.6010402@...1148...> <9e0cf0bf0812271143n2b4b88f9p5c7c4f7ab97a10cd@...278...> <49568CE0.7050104@...1148...> <9e0cf0bf0812271220h508b1d0h535420d8dec1dee9@...278...> In-Reply-To: <9e0cf0bf0812271220h508b1d0h535420d8dec1dee9@...278...> Subject: Re: [Openvpn-devel] Alternative GUI for OpenVPN List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: openvpn-devel@lists.sourceforge.net Alon Bar-Lev skrev den 27-12-2008 21:20: > On 12/27/08, Morten Christensen wrote: > >> > I just never had username configuration before... I actually don't >> > understand why you need it anyway.... :) >> > >> >> We are combining a certificate without password with authentification >> with the username and password of the servers. >> I find that it has 2 advantages: >> The user cannot change the password to something too short. >> When the user forgets the password, it is easy to enter a new one >> without the need far a new certificate. >> > > OK... but the true protection is the cryptography... So the level of > authentication is username/password. > Yes but only if it is coupled with the right certificate. > Have you tried the dummy scenario. > Yes. Does not work. But that might be because we use this script (from James) on the server to secure, that username/password and certificate is coupled : #!/usr/bin/perl -t # OpenVPN --auth-user-pass-verify script. # Only authenticate if username equals common_name. # In OpenVPN config file: # auth-user-pass-verify ./unc.pl via-env $username = $ENV{'username'}; $common_name = $ENV{'common_name'}; exit !(length($username) > 0 && length($common_name) > 0 && $username eq $common_name); # END} -- Morten Christensen