Trouble creating a create a certificate signing request on nrf5340 for BLE Mesh Certificate based provisioning.

So basically, I am have created a key pair using the Identity key generation example and exported the public key using Identity key usage example. Now i need to create a certificate signing request, so I am trying to follow the PSA Crypto example to do the same. But it is not building as I facing the following error:

<command-line>: fatal error: user-tls-conf.h: No such file or directory

please help me with the same

Parents
  • Hi,

    the PSA Crypto example

    Which sample specifically?

    Also, which SDK version are you using?

    Regards,
    Sigurd Hellesvik

  • https://docs.zephyrproject.org/latest/samples/tfm_integration/psa_crypto/README.html
    Link to the sample I am following 
    and the SDK is 2.6,

    Also, can identity key be used for asymmetric encryption?

  • Utkarsh said:
    Thank you very much for adding TF-M support!

    The sample itself does not support TF-M. But the patch from before was breaking TF-M globally so I fixed that.

    Utkarsh said:
    Is there a reason why patch was required and not included in the NCS release?

    We are currently working on converting our crypto libraries, and not everything has been moved yet. This will be added to NCS at some point, but in the meantime I created a patch as a workaround. The patch is not "clean", so the final solution at some later point will probably be different.

  • Hi, I have tried using the newer patch but it isnt working for me. This is the error that I get

  • Also it is breaking my other codes with the error:

    #error "MBEDTLS_PEM_WRITE_C defined, but not all prerequisites"
  • Try on v2.7.0. Does the new patch work there?

  • okay will check as soon as possible

Reply Children
No Data