<?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>NRF9160 Certificate provisioning (CSR) With RSA keys</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127872/nrf9160-certificate-provisioning-csr-with-rsa-keys</link><description>Hi 
 We have a product that we are preparing for production. 
 The product needs to communicate with an Azure IOT Hub that only accepts RSA keys. We have used the device_credentials_installer.py script to make a certificate signing request, but it seems</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Apr 2026 07:51:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127872/nrf9160-certificate-provisioning-csr-with-rsa-keys" /><item><title>RE: NRF9160 Certificate provisioning (CSR) With RSA keys</title><link>https://devzone.nordicsemi.com/thread/565364?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2026 07:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5280d30d-ba6e-452a-92f4-3de847fd0442</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;We currently don&amp;#39;t have any sample that shows how to generate an RSA key. The closest sample I found is &amp;quot;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/crypto/rsa/README.html"&gt;Crypto: RSA&lt;/a&gt;&amp;quot; which does not show how to generate the RSA key but shows how to use it. It shouldn&amp;#39;t be too hard to modify this sample in order to replace importing the key by generating the key.&lt;/p&gt;
&lt;p&gt;If you need help modifying the sample feel free to ask.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Certificate provisioning (CSR) With RSA keys</title><link>https://devzone.nordicsemi.com/thread/565317?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2026 12:27:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06c722b1-4a12-4a24-aa02-3c45d8ce634c</guid><dc:creator>Martin Hauser</dc:creator><description>&lt;p&gt;Hi Simon&lt;br /&gt;&lt;br /&gt;Thanks for the clarification.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have control over the IOT hub, another company manages that, we are hoping that they can support ECDSA but we are waiting on a response from them.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The statement that the Hub only accepts RSA key is not something we have/can confirm, but the fact that it works with a cert using RSA makes us believe that it&amp;#39;s true. We know the root CA uses RSA unlike in the documentation you mentioned.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We will try to implement key generation in application if out cloud partner can&amp;#39;t make is work with ECDSA. Is there&amp;nbsp;any samples showing how to generate the keys/cert?&lt;/p&gt;
&lt;p&gt;- Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Certificate provisioning (CSR) With RSA keys</title><link>https://devzone.nordicsemi.com/thread/565308?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2026 12:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20d34150-0f15-4a25-b274-af897a00e35a</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not too familiar with Azure IoT Hub, but I saw there were some documentation for generating keys for Azure IoT Hub (&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/azure_iot_hub.html#generate_and_provision_device_certificates"&gt;link&lt;/a&gt;). However, I think it uses elliptic curve keys, so are you sure that you can&amp;#39;t configure your Hub to work with ECDSA keys ?&lt;/p&gt;
&lt;p&gt;Anyway, I don&amp;#39;t think that there is a direct way to generate an RSA key directly inside the modem like with the ECDSA keys. However, the nRF9160 Crypto peripheral supports RSA key generation (&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/security/crypto/crypto_supported_features.html#rsa_key_pair_operations"&gt;link&lt;/a&gt;). You should be able to generate the key inside on the application core and then send it to the modem. I don&amp;#39;t know if this is safe enough for you as the key is present on the application core for a small amount of time.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>