certificates: add support for tar file based certificate storage

Fixes: WIFI-14694
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2025-06-18 13:26:42 +02:00
parent 721fb4cc4d
commit aa78f40843
3 changed files with 57 additions and 14 deletions

View File

@@ -42,7 +42,8 @@ function generate_csr(cert) {
function store_operational_cert(path, target) {
system('mount_certs');
system(`cp ${path} /certificates/${target}`);
system('store_certs');
ulog(LOG_INFO, `Persistently stored ${target}\n`);
}