<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How can I use my own PAI and DAC?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120861/how-can-i-use-my-own-pai-and-dac</link><description>I&amp;#39;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?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Apr 2025 06:46:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120861/how-can-i-use-my-own-pai-and-dac" /><item><title>RE: How can I use my own PAI and DAC?</title><link>https://devzone.nordicsemi.com/thread/532734?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 06:46:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bf6e907-c104-4ad9-b7a9-71c18dc031b6</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I use my own PAI and DAC?</title><link>https://devzone.nordicsemi.com/thread/532650?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2025 15:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ecb6eaa-59a7-4525-afea-3a12be5f4244</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can follow the instructions in the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/protocols/matter/end_product/configuring_cd.html"&gt;Storing Certification Declaration in firmware&lt;/a&gt;&amp;nbsp;documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I use my own PAI and DAC?</title><link>https://devzone.nordicsemi.com/thread/532464?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2025 01:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6738ec33-6ec0-4071-91a1-b5b8bfd66aa5</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;How do I compile CD into my application?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1745372520912v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I use my own PAI and DAC?</title><link>https://devzone.nordicsemi.com/thread/532437?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 19:37:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6099e00d-9a48-49b2-b91f-b0006b46f8f0</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="SunHuang"] I encountered an error after adding &lt;code&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_CD_CERT&lt;/code&gt;[/quote]
&lt;p&gt;Do you mean &amp;quot;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT&amp;quot;?&lt;/p&gt;
&lt;p&gt;Enabling&amp;nbsp;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_USER only supports to set the path for&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_KEY&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_PAI_CERT&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I use my own PAI and DAC?</title><link>https://devzone.nordicsemi.com/thread/532241?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 03:52:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd35b4a5-82db-4245-98be-dcbaf08f2be3</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Your suggestion is effective, but I encountered an error after adding &lt;code data-start="70" data-end="115"&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_CD_CERT&lt;/code&gt;. I&amp;#39;m currently unable to commission successfully using &lt;code data-start="166" data-end="190"&gt;--paa-trust-store-path&lt;/code&gt;, so I&amp;#39;m not sure if it&amp;#39;s having any impact. Below is the compilation error message:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Parsing C:/nordic_prj/DL02_S2MB_KPD_Small/Kconfig
C:/nordic_prj/DL02_S2MB_KPD_Small/prj.conf:52: warning: attempt to assign the value &amp;#39;&amp;quot;C:/nordic_prj/DL02_S2MB_KPD_Small/chip-cert/Chip-Test-CD-0x1530-0x0201.der&amp;quot;&amp;#39; to the undefined symbol CHIP_FACTORY_DATA_USER_CERTS_CD_CERTLoaded configuration &amp;#39;C:/nordic_prj/DL02_S2MB_KPD_Small/boards/sunion/dl02_s2mb_kpd_small/dl02_s2mb_kpd_small_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;C:/nordic_prj/DL02_S2MB_KPD_Small/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/nordic_prj/DL02_S2MB_KPD_Small/build/DL02_S2MB_KPD_Small/zephyr/.config.sysbuild&amp;#39;


error: Aborting due to Kconfig warnings

CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/kconfig.cmake:396 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v2.9.0/nrf/cmake/modules/kconfig.cmake:29 (include)
  C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:12 (find_package)

-- Configuring incomplete, errors occurred!

CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: DL02_S2MB_KPD_Small

  Location: C:/nordic_prj/DL02_S2MB_KPD_Small
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:20 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  C:/ncs/v2.9.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  C:/nordic_prj/DL02_S2MB_KPD_Small/sysbuild/CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/nordic_prj/DL02_S2MB_KPD_Small/build/CMakeFiles/CMakeOutput.log&amp;quot;.
&#x1B;[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/b620d30767/opt/bin/python.exe &amp;#39;-BC:\nordic_prj\DL02_S2MB_KPD_Small\build&amp;#39; -GNinja -DCONF_FILE=prj.conf &amp;#39;-SC:\ncs\v2.9.0\zephyr\share\sysbuild&amp;#39; &amp;#39;-DAPP_DIR:PATH=C:\nordic_prj\DL02_S2MB_KPD_Small&amp;#39;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I use my own PAI and DAC?</title><link>https://devzone.nordicsemi.com/thread/532226?ContentTypeID=1</link><pubDate>Mon, 21 Apr 2025 14:40:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bb57e38-f9ba-4f33-b295-89bff069f9ea</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you add&amp;nbsp;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_USER=y? See&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/matter/nrfconnect_factory_data_configuration.html#default_kconfig_values_and_developing_aspects"&gt;the certificates obtained during the certification process&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I added the following configs to the matter/template/prj.conf and got no build error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_USER=y
CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT=&amp;quot;C:/nordic/Matter-Development-DAC-VID-PID-Cert.der&amp;quot;
CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_KEY=&amp;quot;C:/nordic/Matter-Development-DAC-VID-PID-Key.der&amp;quot;
CONFIG_CHIP_FACTORY_DATA_USER_CERTS_PAI_CERT=&amp;quot;C:/nordic/Matter-Development-PAI-VID-noPID-Cert.der&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If the above cannot help, please provide the build log and build/app/zephyr/.config file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>