verify-cn: garde la backward comp tout de même
This commit is contained in:
parent
4504a3925d
commit
818ff14d56
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ if ($depth == 0) {
|
|||
# If so, parse out the common name substring in
|
||||
# the X509 subject string.
|
||||
|
||||
if ($x509 =~ / CN=([^,]+)/) {
|
||||
if (($x509 =~ / CN=([^,]+)/) || ($x509 =~ /\/CN=([^\/]+)/)) {
|
||||
$cn = $1;
|
||||
# Accept the connection if the X509 common name
|
||||
# string matches the passed cn argument.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue