Skip to content
Snippets Groups Projects
Commit a9fc5fe0 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Allow comma in the DN regex. Ick.

parent a16f2aa1
No related branches found
No related tags found
No related merge requests found
...@@ -394,7 +394,7 @@ sub CreateNewCert() { ...@@ -394,7 +394,7 @@ sub CreateNewCert() {
# #
my $DN = `$OPENSSL x509 -subject -noout -in usercert_cert.pem`; my $DN = `$OPENSSL x509 -subject -noout -in usercert_cert.pem`;
chomp($DN); chomp($DN);
if ($DN =~ /^subject=\s*(\/[-\/\=\w\@\.\s]+)$/) { if ($DN =~ /^subject=\s*(\/[-\/\=\w\@\.,\s]+)$/) {
$DN = $1; $DN = $1;
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment