<?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>about nrf9160 slm mqtt tls1.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110480/about-nrf9160-slm-mqtt-tls1-2</link><description>hi, 
 1、How can I setting cipher suite version? When I was doing tls bidirectional authentication. 
 I can&amp;#39;t find the AT comand. thanks a lot ! 
 
 
 
 AT #XMQTTCON=&amp;lt;op&amp;gt;[,&amp;lt;username&amp;gt;,&amp;lt;password&amp;gt;,&amp;lt;url&amp;gt;,&amp;lt;port&amp;gt;[,&amp;lt;sec_tag&amp;gt;]] 
 
 
 
 
 
 The &amp;lt;op&amp;gt; parameter is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Apr 2024 09:26:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110480/about-nrf9160-slm-mqtt-tls1-2" /><item><title>RE: about nrf9160 slm mqtt tls1.2</title><link>https://devzone.nordicsemi.com/thread/480628?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 09:26:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b3c1631-21eb-4282-aefd-5225ddbbe75c</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;There are no MQTT AT commands that you could use for this purpose, and you do not need to do that.&amp;nbsp;Modem is handling these parameters&amp;nbsp;automatically in its communication with the server.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about nrf9160 slm mqtt tls1.2</title><link>https://devzone.nordicsemi.com/thread/480413?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2024 10:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21885d9d-3f5f-46c4-a5ec-e30af8c41d68</guid><dc:creator>bugplus</dc:creator><description>&lt;p&gt;hi，dejans&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;1: The test of connected cloud service with certificate is ok;&lt;br /&gt;&amp;nbsp; &amp;nbsp; 2: Now test tls1.2 two-way authentication, there are three parameters I do not know how to pass to the server&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a: tls version&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b: tls protocol&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c: ciphersuite&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I don&amp;#39;t know what AT command to send to the server.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about nrf9160 slm mqtt tls1.2</title><link>https://devzone.nordicsemi.com/thread/480342?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2024 07:39:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:379ea5a9-d9b5-41e7-9338-e430c5e9abf0</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You can look in the documentation at&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.0/page/nrf/libraries/modem/modem_key_mgmt.html"&gt;modem key management&lt;/a&gt;&amp;nbsp;library and&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.0/page/nrf/libraries/modem/modem_key_mgmt.html"&gt;how to manage modem credentials&lt;/a&gt;. Please note that you need to create new Security tag with some other value than what is shown because default one is used for connection to the nRF Cloud. TLS credentials will be written to the new sec tag that you have chosen. For writing, reading, deleting and checking the existence of keys and certificates, you can use&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands/page/REF/at_commands/security/cmng.html"&gt;%CMNG&lt;/a&gt;&amp;nbsp;AT command.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about nrf9160 slm mqtt tls1.2</title><link>https://devzone.nordicsemi.com/thread/480268?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 15:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16485612-9d95-417a-b8cb-27a880f32315</guid><dc:creator>bugplus</dc:creator><description>&lt;p&gt;hi，everyone：&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;I&amp;#39;m testing the nrf9160 dk，I want to connect to the cloud server through mqtt tls1.2.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1、SLM version&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/_4F5C555E2A62FE56_-2024_2D00_04_2D00_23-223507.png" /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; 2、hardware&amp;nbsp; &amp;nbsp;nrf9160 dk&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; already write&amp;nbsp;certificate.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;3、I want connect&amp;nbsp;to the cloud server through&amp;nbsp;Mutual TLS authentication&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sep1:&lt;/p&gt;
&lt;div class="lake-content"&gt;&lt;span class="ne-text"&gt;&lt;span class="ne-text"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AT#XMQTTCON=1,&amp;quot;0&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;xxxxxxxxxxxxxxxx.com&amp;quot;,8883&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ok&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sep2: which AT command can&amp;nbsp;set ssl/tls version?&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; setp3: &lt;span&gt;which AT command can&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;set&lt;/span&gt;&amp;nbsp;&lt;span&gt;ssl/tls&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;protocol?&lt;/div&gt;
&lt;div class="lake-content"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sep4: &lt;span&gt;which AT command can&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;set&lt;/span&gt; ciphersuite?&lt;/div&gt;
&lt;p&gt;best regards！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about nrf9160 slm mqtt tls1.2</title><link>https://devzone.nordicsemi.com/thread/480265?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 15:19:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52bebe9d-a7be-470b-89d4-bfc41c9c55fc</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/MQTT_AT_commands.html#mqtt-connect-xmqttcon"&gt;#XMQTTCON&lt;/a&gt;&amp;nbsp;is SLM specific AT command used to operate MQTT client. Is there any specific reason why you mentioned this particular AT command?&lt;br /&gt;&lt;br /&gt;SLM sample supports testing of both&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/slm_testing.html#tls-client"&gt;TLS client&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/slm_testing.html#tls-server"&gt;TLS Server&lt;/a&gt;&amp;nbsp;roles.&lt;/p&gt;
[quote user=""]How can I&amp;nbsp; setting&amp;nbsp;cipher suite version?[/quote]
&lt;p&gt;Setting cipher suite type is usually done via Kconfig options. For example, you can look at&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/7c87e736be419357ca2150df4049dcdfff143cc9/subsys/nrf_security/Kconfig.tls"&gt;nrf_security Kconfig&lt;/a&gt;&amp;nbsp;options.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>