<?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>Enabling TLS on nRF7002</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123064/enabling-tls-on-nrf7002</link><description>I have been trying to get MQTT+TLS to work on the nRF7002 DK and haven&amp;#39;t been able to get the samples to connect to the MQTT Broker. 
 Is there a working MQTT TLS example? 
 I started off with the WiFi Station example and added the MQTT section following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Jul 2025 20:23:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123064/enabling-tls-on-nrf7002" /><item><title>RE: Enabling TLS on nRF7002</title><link>https://devzone.nordicsemi.com/thread/543077?ContentTypeID=1</link><pubDate>Mon, 21 Jul 2025 20:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c461a0ca-7188-4009-9a1f-6519261e596c</guid><dc:creator>MJJ</dc:creator><description>&lt;div&gt;The MQTT sample in&amp;nbsp;NCS supports both Wi-Fi and LTE connectivity, and it can be configured to use TLS for secure MQTT communication. TLS support is enabled through overlay configuration files included in the sample. When using Wi-Fi (for example, with the nRF7002 DK), you can enable TLS and connect to brokers such as test.mosquitto.org on port 8883. The sample output confirms that TLS is active during the MQTT session over Wi-Fi, as shown by the log line:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;TLS: Yes&lt;/code&gt;&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/mqtt/doc/description.html" rel="noopener noreferrer" target="_blank"&gt;MQTT sample description&lt;/a&gt;&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/mqtt/doc/description.html#sample_output" rel="noopener noreferrer" target="_blank"&gt;Sample output&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Additionally, the Nordic Developer Academy and documentation provide step-by-step exercises on enabling TLS for MQTT over Wi-Fi, including the necessary Kconfig options and certificate provisioning&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/wi-fi-fundamentals/lessons/lesson-4-wifi-fundamentals/topic/lesson-4-exercise-2-2/" rel="noopener noreferrer" target="_blank"&gt;Wi-Fi Fundamentals Exercise&lt;/a&gt;&amp;nbsp;as part of the&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/wi-fi-fundamentals/lessons/lesson-4-wifi-fundamentals/"&gt;Lesson 4 – MQTT over Wi-Fi&lt;/a&gt;.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>