Commit ca2999ca authored by Leigh Stoller's avatar Leigh Stoller

Another little bug fix; make sure that the ssl index.attr file has

the proper unique_subject line in it.
parent ec55bee0
......@@ -196,6 +196,14 @@ if (! -e "$TB/lib/ssl/syscert.cnf") {
print "Then rerun this script\n";
exit(1);
}
#
# I do not understand where this file comes from.
#
if (! -e "$TB/ssl/index.txt.attr" ||
system("egrep -q -s 'no' $TB/ssl/index.txt.attr")) {
system("echo 'unique_subject = no' > $TB/ssl/index.txt.attr") == 0
or fatal("Could not update $TB/ssl/index.txt.attr");
}
my $restartapache = 0;
......
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