reverseproxy: add option to force renewal for e2e

This commit is contained in:
Girish Ramakrishnan
2023-01-31 23:45:17 +01:00
parent d51f62e725
commit 690df0e5c4
2 changed files with 6 additions and 5 deletions

View File

@@ -318,7 +318,7 @@ async function setupDnsAndCert(subdomain, domain, auditSource, progressCallback)
if (ipv6) await dns.waitForDnsRecord(subdomain, domain, 'AAAA', ipv6, { interval: 30000, times: 50000 });
progressCallback({ percent: 60, message: `Getting certificate of ${dashboardFqdn}` });
const location = { subdomain, domain, fqdn: dashboardFqdn, type: apps.LOCATION_TYPE_DASHBOARD, certificate: null };
await reverseProxy.ensureCertificate(location, auditSource);
await reverseProxy.ensureCertificate(location, {}, auditSource);
}
async function syncDnsRecords(options) {