Nuno Marques wrote:
Hi,
do anyone knows a way to verify that the common name in a certificate is
equal to the username sent when prompted by the auth-user-pass-verify
option?
The only way I can think of is writing the username to a file in the
auth-user-pass-verify script, and then having another script that knows
the certificate details to compare both fields. But I don't know how to
execute a script having the certificate details passed as an argument.
Is it possible?
TIA,
Nuno Marques
Hello,
Maybe I don't understand...
Why do you mix username and certificate? If you give a
different certificate for each user it should be sufficient.
Best Regards,
Alon Bar-Lev.
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-02/msg00042.html on line 191
Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-02/msg00042.html on line 191
|