Commit ef3b774a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix minor ordering problem that did not show up in elabinelab testing.

parent 79520491
......@@ -190,6 +190,12 @@ if ($asch) {
system("/bin/cp $TB/etc/emulab.pem $TB/etc/genicacerts") == 0
or fatal("Could not initialize $TB/etc/genicacerts");
}
if (! -e "$TB/lib/ssl/syscert.cnf") {
print "Please go to the ssl subdir of your build tree and do:\n";
print " sudo gmake install-conf\n";
print "Then rerun this script\n";
exit(1);
}
my $restartapache = 0;
......@@ -316,12 +322,6 @@ require GeniRegistry;
#
# Generate the certs we need.
#
if (! -e "$TB/lib/ssl/syscert.cnf") {
print "Please go to the ssl subdir of your build tree and do:\n";
print " sudo gmake install-conf\n";
print "Then rerun this script\n";
exit(1);
}
if (! -e $CMCERT) {
print "Creating CM certificate ...\n";
system("$SUDO -u $PROTOUSER $MKSYSCERT -o $CMCERT ".
......
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