2025-08-22 17:31:54 +03:00
|
|
|
-- Add table to store CA certificate and key
|
|
|
|
|
CREATE TABLE IF NOT EXISTS ca_certificates (
|
2025-11-08 15:06:30 +08:00
|
|
|
id INT AUTO_INCREMENT PRIMARY KEY,
|
2025-08-22 17:31:54 +03:00
|
|
|
ca_cert_pem TEXT NOT NULL,
|
|
|
|
|
ca_key_pem TEXT NOT NULL,
|
2025-11-08 15:06:30 +08:00
|
|
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
|
|
|
is_active TINYINT(1) DEFAULT 1
|
2025-08-22 17:31:54 +03:00
|
|
|
);
|