I'd like to use my own server instead of HSM card. I can't find any information how the license file is generated except the fact that it is possible as mentioned in AN5054.Slawek
Thank you Chloe. I guess there is a private key in HSM card provided by ST, which is used to sign generated licence file which is then used to allow secure bootloader to receive SFI. ST wrote in AN5054 "There is no STMicroelectronics secret involved ...
My goal is to prepare software/server to create this file by myself - of course getting ID from programmed microcontroller and using my own nonce/AES key which were used to encrypt firmware (SFI).
Hello Chloe,thank you for the answer. I understand these CLI commands as getting the license from attached Smart Card Reader with HSM card inserted - or am I wrong? Both have description "...if counter is not null".