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?

CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT="C:/nordic/Matter-Development-DAC-VID-PID-Cert.der"
CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_KEY="C:/nordic/Matter-Development-DAC-VID-PID-Key.der"
CONFIG_CHIP_FACTORY_DATA_USER_CERTS_PAI_CERT="C:/nordic/Matter-Development-PAI-VID-noPID-Cert.der"

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. 

    CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_USER=y
    CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT="C:/nordic/Matter-Development-DAC-VID-PID-Cert.der"
    CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_KEY="C:/nordic/Matter-Development-DAC-VID-PID-Key.der"
    CONFIG_CHIP_FACTORY_DATA_USER_CERTS_PAI_CERT="C:/nordic/Matter-Development-PAI-VID-noPID-Cert.der"

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

    Regards,
    Amanda H.

Reply
  • 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. 

    CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_USER=y
    CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT="C:/nordic/Matter-Development-DAC-VID-PID-Cert.der"
    CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_KEY="C:/nordic/Matter-Development-DAC-VID-PID-Key.der"
    CONFIG_CHIP_FACTORY_DATA_USER_CERTS_PAI_CERT="C:/nordic/Matter-Development-PAI-VID-noPID-Cert.der"

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

    Regards,
    Amanda H.

Children
No Data
Related