better pki

This commit is contained in:
fuomag9
2026-03-06 00:22:30 +01:00
parent 94eba03595
commit c76004f8ac
9 changed files with 366 additions and 38 deletions
+1
View File
@@ -132,6 +132,7 @@ export const caCertificates = sqliteTable("ca_certificates", {
id: integer("id").primaryKey({ autoIncrement: true }),
name: text("name").notNull(),
certificatePem: text("certificate_pem").notNull(),
privateKeyPem: text("private_key_pem"),
createdBy: integer("created_by").references(() => users.id, { onDelete: "set null" }),
createdAt: text("created_at").notNull(),
updatedAt: text("updated_at").notNull()