Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small error with the creation of the lsc voms file from quat… #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

evamvak-source
Copy link

Error in openssl-1.1.1k-6.el8.x86_64, the default format of subject or issuer DN with "commas" is not understood with xrootd voms lib and the extraction of voms attributes failed, when the component creates the lsc voms file

e.g --> https://stackoverflow.com/questions/56130510/openssl-issuer-subject-format-differences

On the ncm component
/usr/lib/perl/NCM/Component/vomsclient.pm

cat ./lib/perl/NCM/Component/vomsclient.pm |grep openssl
my $subject = echo "$cert" | openssl x509 -noout -subject; my $issuer = echo "$cert" | openssl x509 -noout -issuer;

I add the compat -nameopt
So
my $subject = echo "$cert" | openssl x509 -noout -subject -nameopt compat; my $issuer = echo "$cert" | openssl x509 -noout -issuer -nameopt compat;

…tor on openssl-1.1.1k-6.el8.x86_64:

  e.g --> https://stackoverflow.com/questions/56130510/openssl-issuer-subject-format-differences

  On the ncm component
  /usr/lib/perl/NCM/Component/vomsclient.pm

  cat  ./lib/perl/NCM/Component/vomsclient.pm |grep openssl
   my $subject = echo "$cert" | openssl x509 -noout -subject`;
   my $issuer = echo "$cert" | openssl x509 -noout -issuer`;

  I  add the compat -nameopt (LLR and LPNHE)
  So
  my $subject = echo "$cert" | openssl x509 -noout -subject -nameopt compat`;
  my $issuer = echo "$cert" | openssl x509 -noout -issuer -nameopt compat`;

  The default format with "commas" is not understood with xrootd voms lib and the extraction of voms attributes failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant