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
|