Start to implement devices enrollment
This commit is contained in:
@ -15,6 +15,7 @@ async fn main() -> std::io::Result<()> {
|
||||
|
||||
// Initialize storage
|
||||
create_directory_if_missing(AppConfig::get().pki_path()).unwrap();
|
||||
create_directory_if_missing(AppConfig::get().devices_config_path()).unwrap();
|
||||
|
||||
// Initialize PKI
|
||||
pki::initialize_root_ca().expect("Failed to initialize Root CA!");
|
||||
|
Reference in New Issue
Block a user