<?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>TC-DA-1.7 failing and requires different Authority Key Identifier from the PAI certificate for testing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124707/tc-da-1-7-failing-and-requires-different-authority-key-identifier-from-the-pai-certificate-for-testing</link><description>[MatterTest] 09-25 08:50:35.568 INFO ***** Test Step 2.3 : TH extracts the Authority Key Identifier from the PAI certificate [MatterTest] 09-25 08:50:35.568 INFO ***** Test Step 2.3 : TH extracts the Authority Key Identifier from the PAI certificate </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Oct 2025 08:25:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124707/tc-da-1-7-failing-and-requires-different-authority-key-identifier-from-the-pai-certificate-for-testing" /><item><title>RE: TC-DA-1.7 failing and requires different Authority Key Identifier from the PAI certificate for testing</title><link>https://devzone.nordicsemi.com/thread/550434?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 08:25:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cdb7f9a-253f-4937-a70c-ab62cc3359d6</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Only the DAC key and cert will be unique. Make sure to replace &amp;lt;serial&amp;gt; with the unique identifier for the device, both when generating the certificates and in the Kconfig options in prj.conf.&lt;/p&gt;
[quote user="BilalAliAhmad"]&lt;p&gt;&lt;span&gt;Additionally do we need a unique CD for every device and store it into&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CHIP_DEVICE_CONFIG_CERTIFICATION_DECLARATION inside&amp;nbsp;src\chip_project_config.h file?&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;No, the CD does not need to be unique for each device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TC-DA-1.7 failing and requires different Authority Key Identifier from the PAI certificate for testing</title><link>https://devzone.nordicsemi.com/thread/550368?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 13:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9446520a-d3d3-4296-8dde-cb9fee50dcd6</guid><dc:creator>BilalAliAhmad</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;will all these three will be unique or only DAC key and DAC cert will be unique per device?&lt;br /&gt;&lt;br /&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT=&amp;quot;.../Chip-DAC-Cert-&amp;lt;serial&amp;gt;.der&amp;quot;&lt;br /&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_KEY=&amp;quot;.../Chip-DAC-Key-&amp;lt;serial&amp;gt;.der&amp;quot;&lt;br /&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_PAI_CERT=&amp;quot;.../Chip-PAI-Cert.der&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally do we need a unique CD for every device and store it into&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CHIP_DEVICE_CONFIG_CERTIFICATION_DECLARATION inside&amp;nbsp;src\chip_project_config.h file?&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TC-DA-1.7 failing and requires different Authority Key Identifier from the PAI certificate for testing</title><link>https://devzone.nordicsemi.com/thread/550367?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 13:16:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a541e447-4a6d-4379-a918-01211f435238</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You still need to use the CHIP certificate tool to generate the certificates themselves, then include the certificates in prj.conf with&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT=&amp;quot;.../Chip-DAC-Cert-&amp;lt;serial&amp;gt;.der&amp;quot;
CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_KEY=&amp;quot;.../Chip-DAC-Key-&amp;lt;serial&amp;gt;.der&amp;quot;
CONFIG_CHIP_FACTORY_DATA_USER_CERTS_PAI_CERT=&amp;quot;.../Chip-PAI-Cert.der&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Replace ... with the actual path to the certificates.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TC-DA-1.7 failing and requires different Authority Key Identifier from the PAI certificate for testing</title><link>https://devzone.nordicsemi.com/thread/550347?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 12:00:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7c0cb9d-6b98-487b-b813-fe116ef1b00b</guid><dc:creator>BilalAliAhmad</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/marte.m"&gt;Marte Myrvold&lt;/a&gt;&amp;nbsp;we are using configs to build factory data. Can we use settings like this to generate unique data for at least two device required for testing:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_VENDOR_ID&lt;/span&gt;&lt;span&gt;=1233&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_VENDOR_NAME&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;vedorInc&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_PRODUCT_ID&lt;/span&gt;&lt;span&gt;=3&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_PRODUCT_NAME&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;device&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_HARDWARE_VERSION&lt;/span&gt;&lt;span&gt;=0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_HARDWARE_VERSION_STRING&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;prerelease&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_SOFTWARE_VERSION&lt;/span&gt;&lt;span&gt;=0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_SOFTWARE_VERSION_STRING&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;prerelease&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_MANUFACTURING_DATE&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;2025-05-15&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_SERIAL_NUMBER&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;11223344556677889900&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_ROTATING_DEVICE_UID&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;592f5a8aaaa8615def3d9eaaba0a67ae&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_ROTATING_DEVICE_ID&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_TYPE&lt;/span&gt;&lt;span&gt;=10&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_DISCRIMINATOR&lt;/span&gt;&lt;span&gt;=0xF00&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_SPAKE2_PASSCODE&lt;/span&gt;&lt;span&gt;=20202021&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_SPAKE2_IT&lt;/span&gt;&lt;span&gt;=1000&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_SPAKE2_SALT&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;U1BBS0UyUCBLZXkgU2FsdA==&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_SPAKE2_TEST_VERIFIER&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;uWFwqugDNGiEck/po7KHwwMwwqZgN10XuyBajPGuyzUEV/iree4lOrao5GuwnlQ65CJzbeUB49s31EH+NEkg0JVI5MGCQGMMT/SRPFNRODm3wH/MBiehuFc6FJ/NH6Rmzw==&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_ENABLE_KEY&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;00112233445566778899AABBCCDDEEFF&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_PRODUCT_FINISH&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;other&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL&lt;/span&gt;&lt;span&gt;=10&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_PROJECT_CONFIG&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;src/chip_project_config.h&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_CHIP_FACTORY_RESET_ERASE_SETTINGS =y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_BUILD&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_MERGE_WITH_FIRMWARE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_USE_DEFAULT_CERTS&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_GENERATE_ONBOARDING_CODES&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_USER&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_CERT&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;C:/Econet-gatelock-matter/certs/Chip-DAC-Cert.der&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_DAC_KEY&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;C:/Econet-gatelock-matter/certs/Chip-DAC-Key.der&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_USER_CERTS_PAI_CERT&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;C:/Econet-gatelock-matter/certs/Chip-PAI-Cert.der&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;Additionally do we need a unique CD for every device and store it into&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CHIP_DEVICE_CONFIG_CERTIFICATION_DECLARATION inside&amp;nbsp;src\chip_project_config.h file?&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TC-DA-1.7 failing and requires different Authority Key Identifier from the PAI certificate for testing</title><link>https://devzone.nordicsemi.com/thread/550343?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 11:55:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20832937-712d-4122-9265-6a6fce29bbce</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error indicates that all your devices use the same DAC and private key.&lt;/p&gt;
&lt;p&gt;You can use the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.1.1/page/matter/README.html"&gt;CHIP Certificate Tool&lt;/a&gt;&amp;nbsp;to generate unique DACs for each device with the &lt;code&gt;gen-att-cert&lt;/code&gt; command:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;./chip-cert gen-att-cert \
  --type d \
  --subject-cn &amp;quot;Matter Development DAC &amp;lt;serial&amp;gt;&amp;quot; \
  --subject-vid &amp;lt;VID&amp;gt; \
  --subject-pid &amp;lt;PID&amp;gt; \
  --valid-from &amp;quot;YYYY-MM-DD HH:MM:SS&amp;quot; \
  --lifetime 7305 \
  --ca-key Chip-PAI-Key.pem \
  --ca-cert Chip-PAI-Cert.pem \
  --out-key Chip-DAC-Key-&amp;lt;serial&amp;gt;.pem \
  --out Chip-DAC-Cert-&amp;lt;serial&amp;gt;.pem&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Replace &amp;lt;serial&amp;gt; with a unique identifier for each device.&lt;/p&gt;
&lt;p&gt;After you have generated DACs, you can convert the generated PEM files to DER format if needed using the &lt;code&gt;convert-cert&lt;/code&gt; and &lt;code&gt;convert-key&lt;/code&gt; commands:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;./chip-cert convert-cert -d Chip-DAC-Cert-&amp;lt;serial&amp;gt;.pem Chip-DAC-Cert-&amp;lt;serial&amp;gt;.der&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;./chip-cert convert-key -d Chip-DAC-Key-&amp;lt;serial&amp;gt;.pem Chip-DAC-Key-&amp;lt;serial&amp;gt;.der&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>