<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Failure in creating device certificate &amp;amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88953/failure-in-creating-device-certificate-provisioning-it</link><description>I am creating device certificate as per steps mentioned at 
 https://nordicsemiconductor.github.io/asset-tracker-cloud-docs/saga/docs/azure/GettingStarted/DeviceCredentials.html 
 
 Create root &amp;amp; intermediate certificates works fine, 
 
 But when we issue</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Thu, 16 Jun 2022 02:11:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88953/failure-in-creating-device-certificate-provisioning-it" /><item><title>RE: Failure in creating device certificate &amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/thread/372687?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 02:11:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33a0385c-d6a5-47f2-a161-3e5c2bb83dd8</guid><dc:creator>user116928</dc:creator><description>&lt;p&gt;Yes, same response.&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ npx tsc
$ node cli create-and-provision-device-cert --dk --debug --delete-private-key
Flasing certificate /dev/ttyACM0
Connecting to /dev/ttyACM0
Inactivity timeout 10 seconds
 ERROR  create-and-provision-device-cert failed!
 ERROR  Readline is not a constructor&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure in creating device certificate &amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/thread/372614?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 14:26:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d124f3ea-06c6-4882-85fe-66f9ad5f8486</guid><dc:creator>user93921</dc:creator><description>&lt;p&gt;then log of following commands? same as before?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Compile code
npx tsc

# Run the command again
node cli create-and-provision-device-cert --dk --debug --delete-private-key&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure in creating device certificate &amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/thread/372606?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 13:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e066966f-8f74-4f02-8d9a-f226a0bc5edf</guid><dc:creator>user116928</dc:creator><description>&lt;p&gt;npm ci&lt;br /&gt;npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.&lt;br /&gt;npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.&lt;br /&gt;npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See &lt;a href="https://v8.dev/blog/math-random"&gt;v8.dev/.../math-random&lt;/a&gt; for details.&lt;br /&gt;npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See &lt;a href="https://v8.dev/blog/math-random"&gt;v8.dev/.../math-random&lt;/a&gt; for details.&lt;br /&gt;npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See &lt;a href="https://v8.dev/blog/math-random"&gt;v8.dev/.../math-random&lt;/a&gt; for details.&lt;br /&gt;npm WARN deprecated @azure/arm-deviceprovisioningservices@3.0.0: Please note, versions of this package with version numbers 3.0.0 and below have been deprecated as of 31-March-2022. We strongly encourage you to upgrade to version 4.0.0 or above to continue receiving updates. Refer to our deprecation policy: &lt;a href="https://azure.github.io/azure-sdk/policies_support.html"&gt;azure.github.io/.../policies_support.html&lt;/a&gt; for more details.&lt;br /&gt;npm WARN deprecated @azure/arm-appservice@9.0.0: Please note, versions of this package with version numbers 9.0.0 and below have been deprecated as of 31-March-2022. We strongly encourage you to upgrade to version 10.0.0 or above to continue receiving updates. Refer to our deprecation policy: &lt;a href="https://azure.github.io/azure-sdk/policies_support.html"&gt;azure.github.io/.../policies_support.html&lt;/a&gt; for more details.&lt;/p&gt;
&lt;p&gt;&amp;gt; @nordicsemiconductor/asset-tracker-cloud-azure@0.0.0-development postinstall&lt;br /&gt;&amp;gt; husky install &amp;amp;&amp;amp; check-node-version --package&lt;/p&gt;
&lt;p&gt;husky - Git hooks installed&lt;/p&gt;
&lt;p&gt;added 1289 packages, and audited 1290 packages in 9s&lt;/p&gt;
&lt;p&gt;120 packages are looking for funding&lt;br /&gt; run `npm fund` for details&lt;/p&gt;
&lt;p&gt;found 0 vulnerabilities&lt;br /&gt;npm notice &lt;br /&gt;npm notice New minor version of npm available! 8.11.0 -&amp;gt; 8.12.1&lt;br /&gt;npm notice Changelog: &lt;a href="https://github.com/npm/cli/releases/tag/v8.12.1"&gt;github.com/.../v8.12.1&lt;/a&gt;&lt;br /&gt;npm notice Run npm install -g npm@8.12.1 to update!&lt;br /&gt;npm notice&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is this fine OR do we need to fix anything in this before generating certificate ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure in creating device certificate &amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/thread/372600?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 13:41:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e20e713-40de-40c9-859a-5a160cae2b33</guid><dc:creator>user93921</dc:creator><description>&lt;p&gt;Hi Pramond,&lt;/p&gt;
&lt;p&gt;Ok, looks correct. Could you run the following commands and share the logs printout?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# reinstall dependencies
npm ci

# Compile code
npx tsc

# Run the command again
node cli create-and-provision-device-cert --dk --debug --delete-private-key&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure in creating device certificate &amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/thread/372538?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 11:08:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19459986-6d2c-4f81-a18f-daadc33c2a34</guid><dc:creator>user116928</dc:creator><description>&lt;p&gt;both are installed, as follows:-&lt;/p&gt;
&lt;p&gt;keyssin@Heimdall:~$ npm -v&lt;br /&gt;8.11.0&lt;br /&gt;keyssin@Heimdall:~$ node -v&lt;br /&gt;v16.15.1&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Pramod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure in creating device certificate &amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/thread/372529?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 10:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a30960b4-7fa6-465d-b1dd-29b4492ef3f5</guid><dc:creator>user93921</dc:creator><description>&lt;p&gt;&amp;quot;ERROR Readline is not a constructor&amp;quot; shows the&amp;nbsp;environment seems not set up properly. Could you check the Node.js version with the following commands?&lt;span&gt;&lt;span class="ui-provider wq b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak" dir="ltr"&gt;&lt;br /&gt; npm -v&lt;br /&gt; node -v&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="ui-provider wq b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak" dir="ltr"&gt;BR,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="ui-provider wq b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak" dir="ltr"&gt;Charlie&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure in creating device certificate &amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/thread/372527?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 10:22:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8d317d2-6258-411d-87bf-6f1319078452</guid><dc:creator>user116928</dc:creator><description>&lt;p&gt;Yes, device is connected and working fine. Port is also the same.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure in creating device certificate &amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/thread/372526?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 10:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97205170-f7f6-4914-a981-7b81f5347fca</guid><dc:creator>user93921</dc:creator><description>&lt;p&gt;Hi Pramod,&lt;/p&gt;
&lt;p&gt;Did you check if the device was actually connected on&amp;nbsp;&lt;span&gt;/dev/ttyACM0? or it is assigned another port by the system?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure in creating device certificate &amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/thread/372408?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 13:40:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d23cd976-d5ca-44ff-9919-bcf07d74c481</guid><dc:creator>user93921</dc:creator><description>&lt;p&gt;Hi Pramod,&lt;/p&gt;
&lt;p&gt;Sorry for late reply.&lt;/p&gt;
&lt;p&gt;I will need some time to set up an environment to&amp;nbsp;do the test.&lt;/p&gt;
&lt;p&gt;At the same time, I am trying to inquire our development team for this issue and will feedback to you once there is any progress.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure in creating device certificate &amp; provisioning it</title><link>https://test-devzone.nordicsemi.com/thread/372402?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 11:32:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2488fd1b-8fa7-4a1a-9962-bf7e6fa0a361</guid><dc:creator>user116928</dc:creator><description>&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/members/user93921"&gt;user93921&lt;/a&gt; &lt;a href="https://test-devzone.nordicsemi.com/members/user77062"&gt;user77062&lt;/a&gt;, Any update on this ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>