<?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>Unexpected Number in JSON at position 1 (AWS IoT example)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91715/unexpected-number-in-json-at-position-1-aws-iot-example</link><description>Hello, 
 
 I am attempting to follow along with the AWS IoT example. Everything has gone OK so far (Create a Thing, Create a Policy, Create and download certificates) until I get to the Provisioning of Certificates step. 
 When I copy the certificate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Sep 2022 08:11:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91715/unexpected-number-in-json-at-position-1-aws-iot-example" /><item><title>RE: Unexpected Number in JSON at position 1 (AWS IoT example)</title><link>https://devzone.nordicsemi.com/thread/385182?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 08:11:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7bd179a-2478-474a-b993-c7f1e86f7098</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;When creating JITP certificates in nRF Cloud, you can download them as a JSON file containing AWS&amp;#39;s CA certificate, and the devices private key and public certificate. This JSON file can be loaded into the Certificate Manager tab in the Link Monitor by drag-and-drop, or by pressing the &amp;quot;Load from JSON&amp;quot; button.&lt;/p&gt;
&lt;p&gt;However, if you don&amp;#39;t have such a JSON file (as in your case), you can copy (the text/content of) each of the certificates manually into the text boxes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected Number in JSON at position 1 (AWS IoT example)</title><link>https://devzone.nordicsemi.com/thread/385126?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 22:51:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d626d59-03bd-4170-903d-a16a1d5a843e</guid><dc:creator>edahlke</dc:creator><description>&lt;p&gt;Downloading the certificate from AWS done in the standard way. Then Link Monitor seemed like it wanted to file dragged and dropped into the CA Certificate box.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I won&amp;#39;t post the entire contents of the PEM file, but it was as you would expect. Something like this:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-----BEGIN CERTIFICATE-----&lt;br /&gt;MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsF&lt;br /&gt;ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;o/ufQJVtMVT8QtPHRh8jrdkPSHCa2XV4cdFyQzR1bldZwgJcJmApzyMZFo6IQ6XU&lt;br /&gt;5MsI+yMRQ+hDKXJioaldXgjUkK642M4UwtBV8ob2xJNDd2ZhwLnoQdeXeGADbkpy&lt;br /&gt;rqXRfboQnoZsG4q5WTP468SQvvG5&lt;br /&gt;-----END CERTIFICATE-----&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Certificate Manager specifically asks for a JSON file to be drag and dropped into the window. The problem seems to be the PEM file format vs. JSON?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s nothing noteworthy in the screenshot or log, just the error message &amp;quot;&lt;span&gt;Unexpected number in JSON at position 1&amp;quot;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected Number in JSON at position 1 (AWS IoT example)</title><link>https://devzone.nordicsemi.com/thread/384948?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 07:51:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:064917a4-13ad-4f69-8cf6-22f5854ed1fa</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How did you try to copy the CA certificate?&lt;/p&gt;
&lt;p&gt;Do you have any screenshots and/or logs?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>