I'm following the steps at https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bootloader.html#adding-a-bootloader-chain-to-your-application
I generated a private key using
openssl ecparam -name prime256v1 -genkey -noout -out priv.pem
Side note: I got this command from the bootloader sample readme.rst, it might be useful to include it in the docs at the link above.
To my prj.conf I added:
CONFIG_SECURE_BOOT=y CONFIG_BOOTLOADER_MCUBOOT=y CONFIG_SB_SIGNING_KEY_FILE="priv.pem"
When I re-run CMake I get the warning in the title of the question. Should it not be using the private key I specified?