Get the CSR

This commit is contained in:
2024-08-16 11:51:33 +02:00
parent 0c11703cea
commit 9966904e4d
4 changed files with 80 additions and 2 deletions

View File

@ -32,5 +32,9 @@ void app_main(void)
printf("Device private key:\n");
crypto_print_priv_key();
char *csr = crypto_get_csr();
printf("Current CSR:\n%s\n", csr);
free(csr);
reboot();
}