Support custom private key for MCUBoot

Hi,

I am new to the NRF and private-public key pair using.

Can anyone please explain me how to use custom keys for MCUBoot, I added below config in /child_image/mcuboot.conf

CONFIG_BOOT_SIGNATURE_KEY_FILE="path/to/private_key.pem"

At build, I see below error message

undefined reference to `rsa_pub_key'
undefined reference to `rsa_pub_key_len'

If I remove the config, I see below warning

WARNING: Using default MCUBoot key, it should not be used for production. 

Can anyone please guide me what wrong I am doing, or do I need add any configuration?

Related