Commit 2c75aa10 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Do not die if chain certs not supplied, until Flack is fixed.

parent 81bce1e1
......@@ -554,10 +554,12 @@ if (!defined($user_certificate)) {
if ($user_certificate->VerifySSLChain(@chaincerts)) {
print STDERR "Could not verify user certificate chain:\n";
print STDERR Dumper([$user_certificate, @chaincerts]);
AddLogfileMetaData("cert_error",
"Could not verify user certificate chain");
XMLError(XMLRPC_APPLICATION_ERROR(),
"Could not verify user certificate chain");
# AddLogfileMetaData("cert_error",
# "Could not verify user certificate chain");
if (0) {
XMLError(XMLRPC_APPLICATION_ERROR(),
"Could not verify user certificate chain");
}
}
@chaincerts = (@chaincerts, $user_certificate->rootcert());
my $errorstr;
......
Markdown is supported
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