<?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>Set CommonName in 9160 modem KEYGEN at command</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88252/set-commonname-in-9160-modem-keygen-at-command</link><description>Hi 
 
 I can&amp;#39;t set CommonName in the attributes list while generating a private key, it gives an error: 
 
 Omitting CN it works fine: 
 
 What am I doing wrong? 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Tue, 31 May 2022 11:17:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88252/set-commonname-in-9160-modem-keygen-at-command" /><item><title>RE: Set CommonName in 9160 modem KEYGEN at command</title><link>https://test-devzone.nordicsemi.com/thread/370178?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 11:17:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:823fba2e-8fb9-4053-94ae-237d8dbe19a4</guid><dc:creator>user111436</dc:creator><description>&lt;p&gt;Hey Amanda thanks for helping me out.&lt;/p&gt;
&lt;p&gt;I tried with the LTE link monitor and it worked. Turns out, in my application I&amp;#39;m&amp;nbsp;passing&amp;nbsp;the KEYGEN command through the Zephyr OS shell, and the shell swallow the quotes! The underscore somehow confuse the modem without the quotes, I think.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Anyway, if I wrap the attributes in both single and double quotes, the Zephyr shell swallow the outer quotes while keeping the inner quotes, so the following work:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT%KEYGEN=11,2,0,&amp;#39;&amp;quot;CN=my_device,O=SomeOrg&amp;quot;&amp;#39;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Hope this can be of help to others :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set CommonName in 9160 modem KEYGEN at command</title><link>https://test-devzone.nordicsemi.com/thread/369519?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 12:15:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:459eafb8-5041-48b0-a750-17263dd4696b</guid><dc:creator>user77782</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What are versions of the model firmware, NCS, DK (check white sticker)?&lt;/p&gt;
&lt;p&gt;Can you provide the log with LTE Link Monitor after typing AT%KEYGEN=11,2,0,&amp;quot;CN=my_device,O=SomeOrg&amp;quot;?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/289543.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>