<?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>Problem with private key generation in nrfutil</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25185/problem-with-private-key-generation-in-nrfutil</link><description>Hi, 
 I am trouble with private key generation in nrfutil. I am following the tutorial infocenter.nordicsemi.com/index.jsp. 
 When I am giving the command nrfutil keys generate private.pem, it giving me the following error-
&amp;quot;Got unexpected extra argument</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Sep 2017 14:06:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25185/problem-with-private-key-generation-in-nrfutil" /><item><title>RE: Problem with private key generation in nrfutil</title><link>https://devzone.nordicsemi.com/thread/99220?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 14:06:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94ffa2d1-53c0-48d1-9c4d-f7e3912870cb</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;Thanks. It worked fine when I used version 2.3.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with private key generation in nrfutil</title><link>https://devzone.nordicsemi.com/thread/99218?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 07:34:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a3bd25f-141e-4c40-ac72-5cfb05df118f</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;The user who asked that question also created &lt;a href="https://devzone.nordicsemi.com/question/33282/latest-dfu-example/"&gt;this&lt;/a&gt; post, where the problem was solved. Turns out it was a problem with access privileges. Have you made sure you have full access to the folder where you try to create your file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with private key generation in nrfutil</title><link>https://devzone.nordicsemi.com/thread/99217?ContentTypeID=1</link><pubDate>Sat, 16 Sep 2017 10:42:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cf1ec8f-6b68-4618-a3b0-0c7af909b8bb</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;Someone else is also facing the same problem I have ,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/32928/ota-dfu-sd-80-sdk-80-uploaded-application-does-not-run/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But no solution is given there..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with private key generation in nrfutil</title><link>https://devzone.nordicsemi.com/thread/99219?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 12:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00da247d-6b2b-4678-86e0-ae3bd87308ac</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Unfortunately I am unable to recreate your error with nrfutil version 2, nor do I find the --gen-key option. Could you try upgrading to a newer version of nrfutil? The latest version is 3.2.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with private key generation in nrfutil</title><link>https://devzone.nordicsemi.com/thread/99215?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 13:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05182084-74d0-4f58-b2e0-d77930b8ba72</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;nrfutil version 2.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with private key generation in nrfutil</title><link>https://devzone.nordicsemi.com/thread/99216?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 11:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc535839-066d-4686-820f-66c456b4525b</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;What version of nrfutil are you using? You can see the version by writing&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfutil version
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with private key generation in nrfutil</title><link>https://devzone.nordicsemi.com/thread/99213?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 08:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b845de2-24c6-42a8-ad38-e153e33c6afd</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;Thanks Vincent. I tried as you suggested, but still it is giving the same error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with private key generation in nrfutil</title><link>https://devzone.nordicsemi.com/thread/99214?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 08:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a81170c3-4e40-4357-8021-54f12adaaff4</guid><dc:creator>Vincent</dc:creator><description>&lt;p&gt;Hi,
Try this
(1).   nrfutil.exe keys generate priv.pem
(2).   nrfutil.exe keys display --key pk --format code priv.pem &amp;gt; public_key.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>