Skip to content

Commit

Permalink
Merge pull request #149 from evamvak-source/configuration-modules-gri…
Browse files Browse the repository at this point in the history
…d-pr-ev-01

small error with the creation of the lsc voms file from quat…
  • Loading branch information
jrha committed Jul 25, 2024
2 parents b31296d + 38c47ff commit dcda6e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ncm-vomsclient/src/main/perl/vomsclient.pm
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ sub getCertSubject () {

# Extract the subject name using OpenSSL to help avoid
# typos.
my $subject = `echo "$cert" | openssl x509 -noout -subject`;
my $subject = `echo "$cert" | openssl x509 -noout -subject -nameopt compat`;
if ($?) {
$self->error("cannot extract subject name for certificate");
return(undef);
Expand Down Expand Up @@ -378,7 +378,7 @@ sub getIssuer () {
return;
}

my $issuer = `echo "$cert" | openssl x509 -noout -issuer`;
my $issuer = `echo "$cert" | openssl x509 -noout -issuer -nameopt compat`;
if ($?) {
$self->error('cannot extract issuer name from certificate');
return(undef);
Expand Down

0 comments on commit dcda6e2

Please sign in to comment.