<?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>AWS MQTT Connection Issue on nrf7002 kit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121368/aws-mqtt-connection-issue-on-nrf7002-kit</link><description>Hi, 
 I am not able to connect to AWS MQTT (using sample code for AWS ) . I am getting Error code -11 every time . CA cart and keys added in code. 
 Same keys are working fine in MQTTX windows app. 
 
 MQTT i.e without keys normal TLS level is working</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Jun 2025 14:24:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121368/aws-mqtt-connection-issue-on-nrf7002-kit" /><item><title>RE: AWS MQTT Connection Issue on nrf7002 kit</title><link>https://devzone.nordicsemi.com/thread/538687?ContentTypeID=1</link><pubDate>Tue, 10 Jun 2025 14:24:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94367173-2b87-4481-a941-6e80b45945a7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for clarifying.&lt;/p&gt;
&lt;p&gt;Q1: Could you share which board you are configuring for? Is it nrf7002dk/nrf5340/cpuapp/ns ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q2: Could you run the firmware with mbedtls in a debug mode and share the verbose output?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=y
CONFIG_MBEDTLS_DEBUG=y
CONFIG_MBEDTLS_SSL_DEBUG_ALL=y
CONFIG_MBEDTLS_LOG_LEVEL_DBG=y
CONFIG_MBEDTLS_DEBUG_C=y
CONFIG_MBEDTLS_DEBUG_LEVEL=4
# Handle the large influx of prints
CONFIG_LOG_BUFFER_SIZE=16384&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS MQTT Connection Issue on nrf7002 kit</title><link>https://devzone.nordicsemi.com/thread/538672?ContentTypeID=1</link><pubDate>Tue, 10 Jun 2025 13:23:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1431d5e5-a8ac-4976-a5d3-b0f6be3662fa</guid><dc:creator>Munish</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I already using the same keys in telit LTE MODULE and no issue is there&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS MQTT Connection Issue on nrf7002 kit</title><link>https://devzone.nordicsemi.com/thread/538592?ContentTypeID=1</link><pubDate>Tue, 10 Jun 2025 06:46:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1af79346-6290-4c48-a7fe-c009c289a81d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you follow the sequence outlined in the &amp;quot;nRF70: Keys generated by AWS&amp;quot; tab in this part of the docs?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/aws_iot.html#aws-setup-and-configuration"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/aws_iot.html#aws-setup-and-configuration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your ca-cert.pem shall be the Amazon root CA 1:&amp;nbsp;&lt;a href="https://www.amazontrust.com/repository/AmazonRootCA1.pem"&gt;https://www.amazontrust.com/repository/AmazonRootCA1.pem&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS MQTT Connection Issue on nrf7002 kit</title><link>https://devzone.nordicsemi.com/thread/538505?ContentTypeID=1</link><pubDate>Sat, 07 Jun 2025 06:39:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97a618db-2fba-4601-bf8a-0e24ea44563d</guid><dc:creator>Munish</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using Aws iot sample prog.&lt;br /&gt;&lt;br /&gt;below is the log and keys compiled&amp;nbsp;&lt;/p&gt;
&lt;p&gt;*** Booting nRF Connect SDK v3.0.2-89ba1294ac9b ***&lt;br /&gt;*** Using Zephyr OS v4.0.99-f791c49f492c ***&lt;br /&gt;[00:00:00.236,206] &amp;lt;inf&amp;gt; aws_iot_sample: The AWS IoT sample started, version: v1.0.0&lt;br /&gt;[00:00:00.236,236] &amp;lt;inf&amp;gt; aws_iot_sample: Bringing network interface up and connecting to the network&lt;br /&gt;[00:00:00.237,182] &amp;lt;inf&amp;gt; wifi_supplicant: wpa_supplicant initialized&lt;br /&gt;uart:~$ wifi connect -s &amp;quot;MKKR&amp;quot; -p &amp;quot;*****&amp;quot; -k 1&lt;br /&gt;Connection requested&lt;br /&gt;Connected&lt;br /&gt;[00:01:20.305,725] &amp;lt;inf&amp;gt; aws_iot_sample: Network connectivity established&lt;br /&gt;[00:01:25.305,786] &amp;lt;inf&amp;gt; aws_iot_sample: Connecting to AWS IoT&lt;br /&gt;[00:01:35.506,378] &amp;lt;err&amp;gt; mqtt_helper: mqtt_connect, error: -116&lt;br /&gt;[00:01:35.506,408] &amp;lt;err&amp;gt; aws_iot: mqtt_helper_connect, error: -116&lt;br /&gt;[00:01:35.506,408] &amp;lt;err&amp;gt; aws_iot_sample: aws_iot_connect, error: -116&lt;br /&gt;[00:01:35.506,408] &amp;lt;err&amp;gt; aws_iot_sample: Fatal error! Rebooting the device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:567px;max-width:567px;" height="567" src="https://devzone.nordicsemi.com/resized-image/__size/1134x1134/__key/communityserver-discussions-components-files/4/pastedimage1749277656634v1.png" width="567" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS MQTT Connection Issue on nrf7002 kit</title><link>https://devzone.nordicsemi.com/thread/534838?ContentTypeID=1</link><pubDate>Mon, 12 May 2025 10:23:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9d8cb4a-8ade-4e1f-a14f-0081c84d0137</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q1: I assume you are using samples/net/aws_iot sample?&lt;/p&gt;
&lt;p&gt;Q2: Could you share the full log output?&lt;/p&gt;
&lt;p&gt;Q3: Have you followed the setup as outlined here?&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/aws_iot.html#aws-setup-and-configuration"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/aws_iot.html#aws-setup-and-configuration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Remember to select the tab &amp;quot;nRF70: Keys generated by AWS&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>