How can I use my own PAI and DAC?

I'm currently using NCS 2.9.0.

However, the default certificate path is C:\ncs\v2.9.0\modules\lib\matter\credentials\development\attestation.

I used the parameters below, but encountered a compilation error. How should I implement this?

Parents
  • Hi, 

    Did you add CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_USER=y? See the certificates obtained during the certification process

    I added the following configs to the matter/template/prj.conf and got no build error. 

    If the above cannot help, please provide the build log and build/app/zephyr/.config file. 

    Regards,
    Amanda H.

  • Hi

    Your suggestion is effective, but I encountered an error after adding CONFIG_CHIP_FACTORY_DATA_USER_CERTS_CD_CERT. I'm currently unable to commission successfully using --paa-trust-store-path, so I'm not sure if it's having any impact. Below is the compilation error message:

  • SunHuang said:
    I encountered an error after adding CONFIG_CHIP_FACTORY_DATA_USER_CERTS_CD_CERT

    Do you mean "CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT"?

    Enabling CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_USER only supports to set the path for 

    • CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT

    • CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_KEY

    • CONFIG_CHIP_FACTORY_DATA_USER_CERTS_PAI_CERT

Reply
  • SunHuang said:
    I encountered an error after adding CONFIG_CHIP_FACTORY_DATA_USER_CERTS_CD_CERT

    Do you mean "CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT"?

    Enabling CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_USER only supports to set the path for 

    • CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT

    • CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_KEY

    • CONFIG_CHIP_FACTORY_DATA_USER_CERTS_PAI_CERT

Children