debug cert

This commit is contained in:
shimon 2025-02-26 17:40:06 +02:00
parent f48791fba6
commit 369caae87d

View file

@ -591,7 +591,10 @@ App::init()
Query::equal('domain', [$domain->get()])
]);
}
var_dump([
'location' => 'general.php.1',
'domainDocument' => $domainDocument
]);
if ($domainDocument->isEmpty()) {
$domainDocument = new Document([
// TODO: @christyjacob remove once we migrate the rules in 1.7.x
@ -602,7 +605,10 @@ App::init()
'projectId' => 'console',
'projectInternalId' => 'console'
]);
var_dump([
'location' => 'general.php.2',
'domainDocument' => $domainDocument
]);
$domainDocument = $dbForPlatform->createDocument('rules', $domainDocument);
Console::info('Issuing a TLS certificate for the main domain (' . $domain->get() . ') in a few seconds...');