store fallback certs in the database

This commit is contained in:
Girish Ramakrishnan
2021-05-04 21:40:11 -07:00
parent 7de454911e
commit 963e92b517
12 changed files with 95 additions and 58 deletions

View File

@@ -157,6 +157,8 @@ CREATE TABLE IF NOT EXISTS domains(
tlsConfigJson TEXT, /* JSON containing the tls provider config */
wellKnownJson TEXT, /* JSON containing well known docs for this domain */
fallbackCertificateJson TEXT,
PRIMARY KEY (domain))
/* the default db collation is utf8mb4_unicode_ci but for the app table domain constraint we have to use the old one */