<?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>Azure IoT hub certificates Expiration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78802/azure-iot-hub-certificates-expiration</link><description>I have followed the Azure IoT Hub — nRF Connect SDK 1.6.99 documentation (nordicsemi.com) and was able to comminicate with Azure IoT hub.I have created rootCA and device certificates by following Tutorial - Use Microsoft scripts to create x.509 test certificates</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Aug 2021 13:32:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78802/azure-iot-hub-certificates-expiration" /><item><title>RE: Azure IoT hub certificates Expiration</title><link>https://devzone.nordicsemi.com/thread/325990?ContentTypeID=1</link><pubDate>Fri, 20 Aug 2021 13:32:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb7259bf-7bd3-4442-9f5d-1fce52ac2ac4</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""]Is rootCA,public and private certificates valid for only for 30 days ? or Is it just the rootCA certificate ?[/quote]
&lt;p&gt;&amp;nbsp;Certificate expiration is user defined, they can pick whatever duration they want. Typically you want something very long for the device certificate (like 30 years).&lt;/p&gt;
[quote user=""]I had some difficulties in generating rootCA for the second time from the same system and I created it another computer.Will that be an issue ? Do I need to create all the certifictaes in the same computer ?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;No. Certificates are in the end random strings, they can be generated everywhere and don&amp;#39;t need to be generated on the same device.&lt;/p&gt;
[quote user=""]Is it mandatory to delete the old rootCA certificate from IoT hub ?[/quote]
&lt;p&gt;&amp;nbsp;No, Azure IoT Hub allows multiple root CAs in DPS: &lt;a title="https://docs.microsoft.com/en-us/azure/iot-dps/tutorial-custom-hsm-enrollment-group-x509" href="https://docs.microsoft.com/en-us/azure/iot-dps/tutorial-custom-hsm-enrollment-group-x509" rel="noopener noreferrer" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/iot-dps/tutorial-custom-hsm-enrollment-group-x509&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>