From 818ff14d56b52457c5bfec121a637068428ef387 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Wed, 5 Aug 2015 20:02:59 +0200 Subject: [PATCH] =?UTF-8?q?verify-cn:=20garde=20la=20backward=20comp=20tou?= =?UTF-8?q?t=20de=20m=C3=AAme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/verify-cn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/verify-cn b/utils/verify-cn index 6e747ef1..b45f72e4 100755 --- a/utils/verify-cn +++ b/utils/verify-cn @@ -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.