<?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>How to get the TLS client certificate working in MQTT?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112735/how-to-get-the-tls-client-certificate-working-in-mqtt</link><description>Hi, 
 I am able to get my CA certificate working using TLS for MQTT. but im not able to get the TLS Client certificate working. 
 I had created a client certificate as per the link: https://test.mosquitto.org/ssl/ 
 I had taken a Wifi Station example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Jul 2024 14:10:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112735/how-to-get-the-tls-client-certificate-working-in-mqtt" /><item><title>RE: How to get the TLS client certificate working in MQTT?</title><link>https://devzone.nordicsemi.com/thread/493001?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 14:10:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52d0b91a-20b0-401e-b72a-a15b3a3b95b9</guid><dc:creator>Arjun Kariat</dc:creator><description>&lt;p&gt;you&amp;#39;re welcome &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the TLS client certificate working in MQTT?</title><link>https://devzone.nordicsemi.com/thread/493000?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 14:08:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97973a3c-0d57-4aa2-ba5e-42622d0978ac</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Thanks for the update. Greeeat to hear! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the TLS client certificate working in MQTT?</title><link>https://devzone.nordicsemi.com/thread/492999?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 14:08:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34886bae-0287-4c84-a4b6-d9a4484cc63c</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Thanks for the update. Greeeat to hear! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the TLS client certificate working in MQTT?</title><link>https://devzone.nordicsemi.com/thread/492813?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 18:26:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:177b8f33-91ef-4702-a595-4a7f38bccc47</guid><dc:creator>Arjun Kariat</dc:creator><description>&lt;p&gt;Hi I was able to get it working by changing the value of&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_BUF_DATA_SIZE&lt;/span&gt;&lt;span&gt;=2048. it was 128 initially.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the TLS client certificate working in MQTT?</title><link>https://devzone.nordicsemi.com/thread/492523?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 17:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2be96413-ee8e-4266-aafc-f0c16b46839d</guid><dc:creator>Arjun Kariat</dc:creator><description>&lt;p&gt;Im so sorry. Please enjoy your vacations. we ll discuss this on monday then&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the TLS client certificate working in MQTT?</title><link>https://devzone.nordicsemi.com/thread/492497?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 14:42:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf6f9d4a-606c-4117-996c-1bf32df8f45d</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Arjun,&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;did not get time to review your codes. We are low staff due to summer vacation period.&lt;/p&gt;
&lt;p&gt;I just figure out&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/networking/azure_iot_hub.html"&gt;Azure IoT Hub — nRF Connect SDK 2.7.99 documentation (nordicsemi.com)&lt;/a&gt;&amp;nbsp;properly show how to configure device/client certificate for nRF7002 Wi-Fi application.&lt;/p&gt;
&lt;p&gt;Can you learn about its usage and compare with your codes?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;
&lt;div&gt;
&lt;div dir="ltr"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the TLS client certificate working in MQTT?</title><link>https://devzone.nordicsemi.com/thread/492310?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 14:39:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c67e55f-7ed7-44fc-b39b-ddd7f1b16dc7</guid><dc:creator>Arjun Kariat</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes i have looked into the link that you have shared.&lt;br /&gt;I am sorry i missed out to mention that i am working on an nrf7002DK/EK board. So had to depend on the link provided below for an example code for MQTT.&lt;/p&gt;
&lt;p&gt;I had looked into the example provided in the academy link:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/wi-fi-fundamentals/lessons/lesson-4-wifi-fundamentals/"&gt;https://academy.nordicsemi.com/courses/wi-fi-fundamentals/lessons/lesson-4-wifi-fundamentals/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;but this example also shows only the implementation using CA certificate only, the TLS client certificate implementation is not provided here.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have you looked into the code i shared?&lt;/p&gt;
&lt;p&gt;If you comment out the implementation of&amp;nbsp;client_certificate[] and&amp;nbsp;priv_key[] and change the&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MQTT_BROKER_PORT to 8883, it works fine. on adding this portion im getting the error reported&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the TLS client certificate working in MQTT?</title><link>https://devzone.nordicsemi.com/thread/492305?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 14:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdc74d6c-ce45-42e7-851d-4acea787214e</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Arjun,&lt;/p&gt;
&lt;p&gt;Did you get chance to test this sample direclty &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.1/nrf/samples/net/mqtt/README.html"&gt;MQTT — nRF Connect SDK 2.6.1 documentation (nordicsemi.com)&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>