<?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>nRF91 questions about credentials</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63360/nrf91-questions-about-credentials</link><description>Hi, 
 
 I have two nRF9160DKs and I noticed that the SHA-256 digest of the credentials looks very strange 
 
 
 
 Questions: 
 1, Why are the digest so repeating? I have installed the JSON credentials got from nRF Cloud without error. 
 The software is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jul 2020 11:14:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63360/nrf91-questions-about-credentials" /><item><title>RE: nRF91 questions about credentials</title><link>https://devzone.nordicsemi.com/thread/259152?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 11:14:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9945ab7c-a7ec-46f4-a9fd-261679c39198</guid><dc:creator>PopradiArpad</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;thank you for your response.&lt;/p&gt;
&lt;p&gt;With kind regards,&lt;/p&gt;
&lt;p&gt;&amp;Aacute;rp&amp;aacute;d&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 questions about credentials</title><link>https://devzone.nordicsemi.com/thread/259128?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 09:32:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc97dc49-4aa7-46c0-a57b-e20e08f2b515</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Looks like the &amp;quot;&lt;span&gt;the unspecified 6-er&lt;/span&gt;&amp;quot; is not used for anything at the moment, but it may used in future, so I suggest to leave it untouched.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 questions about credentials</title><link>https://devzone.nordicsemi.com/thread/258378?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 14:59:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:937cdc30-b400-4bbf-be5c-2e5ddd2c314c</guid><dc:creator>PopradiArpad</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;thank you for your answer. This strange repeating digests are even at you so it can not&amp;nbsp;do harm :)&lt;/p&gt;
&lt;p&gt;I am new to LTE and nRF9160 and accordingly paranoid :)&lt;/p&gt;
&lt;p&gt;This credential with the unspecified 6-er tag is some trash? Or used internally?&lt;/p&gt;
&lt;p&gt;Is it ok to&amp;nbsp;delete it?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&amp;Aacute;rp&amp;aacute;d&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 questions about credentials</title><link>https://devzone.nordicsemi.com/thread/258370?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 14:41:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcc4672f-3c95-4d4f-be1b-8deccc2d5d73</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;1.&lt;/p&gt;
&lt;p&gt;Response syntax for read operation:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;%CMNG: &amp;lt;sec_tag&amp;gt;,&amp;lt;type&amp;gt;[,&amp;lt;sha&amp;gt;[,&amp;lt;content&amp;gt;]]&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;It is the SHA that has this &amp;quot;repeating&amp;quot; data.&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3d95c8a2c129489dbedab77b33d4ea1b/pastedimage1593786667000v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2.&lt;/p&gt;
&lt;p&gt;Once you delete a credential it is gone.&lt;/p&gt;
&lt;p&gt;To write the credential again you could use the command:&lt;/p&gt;
&lt;p&gt;The following command example writes the client certificate:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;AT%CMNG=0,567890,1,&amp;quot;
-----BEGIN CERTIFICATE-----
MIIBc464...
...bW9aAa4
-----END CERTIFICATE-----”
OK&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;Or you can use the &amp;quot;Certificate Manager&amp;quot; in LTE Link Monitor, just by dragging and dropping the .json file e.g. gathered from nRF Cloud. (&lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-cloud-certificate-update" rel="noopener noreferrer" target="_blank"&gt;example&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3.&lt;br /&gt;I will check internally why an un-specified type can be shown.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I managed to write to that unspecified type as well:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3d95c8a2c129489dbedab77b33d4ea1b/pastedimage1593787245509v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;For now please only use the specified Types&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 questions about credentials</title><link>https://devzone.nordicsemi.com/thread/258358?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 14:11:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:026aacd2-75bf-40d7-bcc7-e5c5186f352a</guid><dc:creator>PopradiArpad</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I use&lt;/p&gt;
&lt;pre&gt;AT+CGMR&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;mfw_nrf9160_1.2.0&lt;/pre&gt;
&lt;p&gt;&lt;span class="rx"&gt;&lt;/span&gt;the latest firmware.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you have&amp;nbsp;answers for the questions?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&amp;Aacute;rp&amp;aacute;d&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 questions about credentials</title><link>https://devzone.nordicsemi.com/thread/258348?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 13:39:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1a122fb-4243-45ba-9794-967d5909c85a</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;Árpád,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please make sure that you are running the latest MFW:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Low-power-cellular-IoT/nRF9160/Download#infotabs"&gt;https://www.nordicsemi.com/Products/Low-power-cellular-IoT/nRF9160/Download#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;e.g.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This can be read out by AT+CGMR&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3d95c8a2c129489dbedab77b33d4ea1b/pastedimage1593783403077v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;(mfw 1.2.1 is not yet public)&lt;/p&gt;
&lt;p&gt;These certificates are stored in the modem flash, so changing the application .hex does not change the certificates.&lt;/p&gt;
&lt;p&gt;Please read the examples down in the doc:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fcmng_set.html&amp;amp;cp=2_1_3_27_0"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fcmng_set.html&amp;amp;cp=2_1_3_27_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;on how you can read out the specific certificates.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;When you list the certificates it will look different compared to when you actually read them out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>