Commit a701e029 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Bogus change to deal with AL2S which does not have a conforming geni

certificate. Need to decide how to deal with it; the cert parsing code
requires a URN in the certificate, and I don't want to mess with that right
now.
parent 0c1cc9fb
......@@ -149,12 +149,14 @@ sub Lookup($$)
#
# Grab the certificate, since we will probably want it.
#
my $certificate = GeniCertificate->Lookup($uuid);
if (!defined($certificate)) {
print STDERR "Could not find certificate for authority $uuid\n";
return undef;
if ($self->{'AUTHORITY'}->{'urn'} !~ /al2s/) {
my $certificate = GeniCertificate->Lookup($uuid);
if (!defined($certificate)) {
print STDERR "Could not find certificate for authority $uuid\n";
return undef;
}
$self->{'CERT'} = $certificate;
}
$self->{'CERT'} = $certificate;
# Add to cache.
$authorities{$self->{'AUTHORITY'}->{'uuid'}} = $self;
......
#!/usr/bin/perl -w
#
# Copyright (c) 2008-2013 University of Utah and the Flux Group.
# Copyright (c) 2008-2013, 2015 University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
......@@ -188,6 +188,10 @@ sub ProbeCMs()
next
if ($authority->type() ne "cm");
# Silly.
next
if ($authority->urn() =~ /al2s/);
if ($authority->disabled()) {
$disabled .= "$urn\n";
next;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment