quattor / configuration-modules-grid

Node Configuration Manager Components for Grid Middleware
www.quattor.org
Other
2 stars 14 forks source link

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

Closed evamvak-source closed 1 month ago

evamvak-source commented 5 months ago

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;