<?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>MQTT, using EC PRIVATE KEY to connect to a broker</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85066/mqtt-using-ec-private-key-to-connect-to-a-broker</link><description>Hi, I am using P822601 board (with nRF9160 chip). Sample project &amp;quot;Serial lte modem&amp;quot; (SDK 1.8). Faced a problem related to the inability to connect to the MQTT broker when using &amp;quot;EC PRIVATE KEY&amp;quot; via LTE Link Monitor. AT commands are used to connect: However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Feb 2022 10:07:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85066/mqtt-using-ec-private-key-to-connect-to-a-broker" /><item><title>RE: MQTT, using EC PRIVATE KEY to connect to a broker</title><link>https://devzone.nordicsemi.com/thread/354517?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 10:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b84d5656-4ff0-4dd6-a010-1b3a478f59bf</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can it be due to an issue with certificate size?&amp;nbsp;From the modem FW 1.3.1 release notes:&lt;/p&gt;
&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;- TLS/DTLS&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Up to three simultaneous TLS/DTLS connections are possible.&lt;/li&gt;
&lt;li&gt;Maximum server certificate chain size has a limit of 4kB.&lt;/li&gt;
&lt;li&gt;Server certificate expiry time is not verified.&lt;/li&gt;
&lt;li&gt;pkcs#8 is not supported.&lt;/li&gt;
&lt;li&gt;Absolute maximum number of supported credentials is 32. The actual amount depends on size of credentials as memory area reserved for credentials may be a limiting factor as well.&lt;/li&gt;
&lt;li&gt;DTLS supports PSK authentication only.&lt;/li&gt;
&lt;li&gt;2kB secure socket buffer size.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Are you trying to connect to Amazon AWS? If so, please follow the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.0/nrf/libraries/networking/aws_iot.html#aws-iot"&gt;steps provided in our AWS IoT documentation&lt;/a&gt;&amp;nbsp;in regards to certificates.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>