<?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>https_client certificate change: &amp;quot;Certificate mismatch&amp;quot; error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115197/https_client-certificate-change-certificate-mismatch-error</link><description>nRF Connect VS Code Extension (v2.7.0); Windows; nRF9160DK; https_client example application 
 -----------------------------------------------------------------------------------------------------------------------------------------------------------</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Nov 2024 13:34:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115197/https_client-certificate-change-certificate-mismatch-error" /><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/509122?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2024 13:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89b5857e-bedf-4923-9aa7-c0ba68c3bdb1</guid><dc:creator>skar001</dc:creator><description>&lt;p&gt;Hi Sunny,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve found that the best way to obtain X.509 certificate in the proper format is to use Firefox as a browser when accessing the site, and following the same steps to obtain the certificate. Firefox is typically more open source an generates a .pem file as well as a .pem chain in a format that is very user friendly with the 9160DK.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/509030?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2024 03:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f4bc59b-0fdb-4898-a5d7-dfcbde0e53f8</guid><dc:creator>Sunny_1982</dc:creator><description>&lt;p&gt;Hello, I am using nrf9160 dev kit and hosted sample file in github.com and trying to download file using http download example. I am getting http connect error -111. Looks like its certificate error. What are the steps to generate certificates(size should be &amp;lt; 2kb) for this site: &lt;a href="https://raw.githubusercontent.com/pushkaraj-g-patil/sample-llext/main/README.txt"&gt;raw.githubusercontent.com/.../README.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/507195?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 16:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c4fee3b-a4ef-4717-9638-f478f7379715</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;The &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf91/nrf91_features.html"&gt;nRF9160 SiP is an Arm Cortex M33 which includes an application core and a modem&lt;/a&gt;. The limit is inside of the LTE modem, which means all nRF91-series are currently limited by this 2kB limit.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://docs-be.nordicsemi.com/bundle/ncs-latest/page/nrf/_images/nrf91_ug_overview.svg?_LANG=enus" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From the &lt;a href="https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/dev-kits/nrf9160-dk/release_notes_modemfirmware/mfw_nrf9160_1.3.6_release_notes.txt"&gt;modem FW release notes&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Limitations
***************
- TLS/DTLS
    - Secure socket buffer size is 2kB.
    - Maximum length of DTLS datagram is 1kB.
    - One TLS handshake at a time is supported.
    - Concurrent secure connections
        - Maximum server certificate chain size has a limit of 4kB.
        - Two active connections are supported when serialized DTLS connection exists.
        - Two active connections are supported when client certificate size is over 1kB.
        - Two active connections are supported when GNSS acquisition is active.
        - Three active connections are supported when client certificate size is 1kB or less.
        - Four serialized DTLS connections are supported.
    - Server certificate expiry time is not verified.
    - pkcs#8 is not supported.
    - 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;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The issue can easily be worked around by ensuring that you use correct certificate size which are designed for IoT devices and not PC/browsers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/507133?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 12:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dda94cef-13f5-4432-9309-0d2fe1d0c476</guid><dc:creator>skar001</dc:creator><description>&lt;p&gt;Thank you for the information.&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/115197/https_client-certificate-change-certificate-mismatch-error/507055"]The 2kB limitation is inside the modem itself and cannot be changed, unfortunately.[/quote]
&lt;p&gt;Do you know if this is specific to the 9160DK board or if this limit is for any device that is using the nRF9160 chip for development?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/507055?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 07:35:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d4853ba-dd22-4a5a-aaab-0ad1dedf1c01</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Stefanos,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Happy to here you resolved the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The 2kB limitation is inside the modem itself and cannot be changed, unfortunately.&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><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/506716?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 12:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ed3df65-7ed1-4f11-9370-05339a0ce1fc</guid><dc:creator>skar001</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;I was able to resolve the issue, but I have a different&amp;nbsp;question regarding the .pem file size limit.&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/115197/https_client-certificate-change-certificate-mismatch-error/505305"] The nRF9160 has a limitation of 2kB. [/quote]
&lt;p&gt;Is there a way to increase the limitation to allow for larger X.509 certificates? I know I am able to increase the size of the receive buffer in the source code, but I am not sure if this is the same thing.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/506329?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2024 13:24:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0001656-d0ae-4f41-958d-ce8553435e2e</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Please verify that you have enabled the UART backend when building the project by using:&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;west build --board &lt;/span&gt;&lt;em&gt;board_target&lt;/em&gt;&lt;span&gt; -- -D&amp;lt;image_name&amp;gt;_SNIPPET=&amp;quot;nrf91-modem-trace-uart&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As described under:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Adding the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;nrf91-modem-trace-uart&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;snippet to send modem traces over UART. See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/device_guides/nrf91/nrf91_snippet.html#nrf91-modem-trace-uart-snippet"&gt;&lt;span&gt;nRF91 modem tracing with UART backend using snippets&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/505570?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 12:42:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4ef4243-32cd-4a5b-8ce5-3c1cdbcab637</guid><dc:creator>skar001</dc:creator><description>&lt;p&gt;&amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728477699677v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728477592802v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I attempted to include the setting in the config file like you had mentioned, and received errors when attempting to flash the application to my device (Note: there were no build errors, the image above was only when I attempted to flash the application to the board).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/505519?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 10:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ececf55-556f-4751-b804-85064a90ca20</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;The provided modem trace does not show any issues.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You will need to enable modem traces in the https_client sample by including the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/libraries/modem/nrf_modem_lib/nrf_modem_lib_trace.html"&gt;Modem trace module from the Modem library integration layer&lt;/a&gt;&amp;nbsp;i.e. setting&amp;nbsp;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/kconfig/index.html#CONFIG_NRF_MODEM_LIB_TRACE"&gt;&lt;code&gt;&lt;span&gt;CONFIG_NRF_MODEM_LIB_TRACE&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;=y in your pjr.conf&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><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/505348?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 12:38:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d43e7d04-3390-4580-8cdb-72d5390aa0f4</guid><dc:creator>skar001</dc:creator><description>&lt;p&gt;&amp;Oslash;yvind, when I have https_client flashed to my nRF9160DK, I am unable to do a modem trace. I can only do a modem trace when I have the asset_tracker_v2 demo application flashed to the board. Here is the modem trace file with asset_tracker_v2:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728391543321v1.png_2D00_640x480.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2024_2D00_10_2D00_08T12_2D00_33_2D00_41.775Z.mtrace"&gt;devzone.nordicsemi.com/.../trace_2D00_2024_2D00_10_2D00_08T12_2D00_33_2D00_41.775Z.mtrace&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Does the modem trace file need to be with https_client flashed to the board?&lt;/p&gt;
&lt;p&gt;Please advise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/505305?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 10:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cf2e69e-0428-4ea9-ad2d-517653221f76</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Thanks for confirming SIM functionality.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="skar001"]Just to clarify, the .pem file that I am attempting to use is from dweet.io, and I grabbed the x.509 certificate in Google chrome&amp;nbsp;as shown in the image below:[/quote]
&lt;p&gt;Web sites often use a certificate that is much larger, designed for use with computer and phones with a larger memory, etc. The nRF9160 has a limitation of 2kB. Could you please provide the modem trace to verify the certificate size you have downloaded.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728382140394v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/505241?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 18:14:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2750e893-45a1-44ac-95f5-e7f2f434a1dc</guid><dc:creator>skar001</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One more update for you, I needed to change the #include in the main code as well as one line in the MakeFile and now the &amp;quot;...\n&amp;quot; is no longer needed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That being said, I am still having the exact same issue.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/505214?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 14:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f61a7cf-f8ee-4b67-ae83-08472526ba15</guid><dc:creator>skar001</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;Just wanted to update you and let you know I tried a different SIM and was able to do a successful modem trace.&lt;/p&gt;
&lt;p&gt;&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/pastedimage1728311675179v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;However, even after the successful modem trace, I am still received the exact same issues as before with the https_client application. I believe this now confirms that even with a working SIM card, the issue is not related to the SIM card.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/505200?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 13:28:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17d7915b-4dd5-4026-9c95-9fea660a8d8b</guid><dc:creator>skar001</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;I attempted to do a modem trace in the nRF Desktop application like you said. When attempting to run a modem trace with the AT_client sample like you said, I could not even successfully do a modem trace before checking the SIM card:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728306081902v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I also loaded the asset_tracker_v2 and attempted to do a modem trace with this program:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728306118477v2.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728306131054v3.png_2D00_640x480.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The trace was successful, but the application had a hard time checking the SIM card activation. In the terminal, I see the message &amp;quot;Device is in shell mode&amp;quot;:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728306209923v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Will the device operate differently when in shell mode? I am not sure how to continue from here.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/115197/https_client-certificate-change-certificate-mismatch-error/505113"]Looking at the certificate already available in the https_client sample, this does not have \n[/quote]
&lt;p&gt;You are correct that the original certificate does not have &amp;quot;...\n.&amp;quot; The reason why I added it was because I saw someone else do this in a similar issue to mine &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/78816/changing-certificate-in-https_client-sample"&gt;here&lt;/a&gt;&amp;nbsp;when attempting to change their certificate. I also received several build errors with a different certificate if the &amp;quot;...\n&amp;quot; was not added to every line. I re-flashed the original https_client sample to my nRF9160 DK, and this is the exact output of the application:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
*** Using Zephyr OS v3.6.99-100befc70c74 ***
HTTPS client sample started
Bringing network interface up
Provisioning certificate
Certificate mismatch
Provisioning certificate
Connecting to the network
+CEREG: 2,&amp;quot;A204&amp;quot;,&amp;quot;0053C016&amp;quot;,7
+CSCON: 1
+CGEV: ME PDN ACT 0,0
+CNEC_ESM: 50,0
+CEREG: 5,&amp;quot;A204&amp;quot;,&amp;quot;0053C016&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
Network connectivity established and IP address assigned
Looking up example.com
Resolved 93.184.215.14 (AF_INET)
Connecting to example.com:443
Sent 61 bytes
Received 372 bytes

&amp;gt;        HTTP/1.1 200 OK

Finished, closing socket.
+CGEV: ME PDN DEACT 0
+CEREG: 0
+CGEV: ME DETACH
+CSCON: 0
Network connectivity lost
Disconnected from the network&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I am a bit confused, since the output here indicates to me that the https connection to example.com was successful. However, I am still receiving &amp;quot;certificate mismatch&amp;quot; in my output before the connection is established, and the modem trace wasn&amp;#39;t successful.&lt;/p&gt;
&lt;p&gt;I also removed the &amp;quot;...\n&amp;quot; from my .pem file that I am trying to use so that I can show you the errors that pop up when this is not included in the .pem file (see image below):&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728307083559v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Just to clarify, the .pem file that I am attempting to use is from dweet.io, and I grabbed the x.509 certificate in Google chrome&amp;nbsp;as shown in the image below:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728307649323v7.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When attempting to run my https_client application with a different certificate, this is the exact output I am receiving:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
*** Using Zephyr OS v3.6.99-100befc70c74 ***
testing changes
HTTPS client sample started
Bringing network interface up
Provisioning certificate
Certificate mismatch
Provisioning certificate
Connecting to the network
+CEREG: 2,&amp;quot;A283&amp;quot;,&amp;quot;03CE4715&amp;quot;,7
+CSCON: 1
+CGEV: ME PDN ACT 0,0
+CNEC_ESM: 50,0
+CEREG: 5,&amp;quot;A283&amp;quot;,&amp;quot;03CE4715&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
Network connectivity established and IP address assigned
Looking up dweet.io
Resolved 52.73.7.7 (AF_INET)
Connecting to dweet.io:443
connect() failed, err: 111
+CGEV: ME PDN DEACT 0
+CEREG: 0
+CGEV: ME DETACH
+CSCON: 0
Network connectivity lost
Disconnected from the network&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;From what I can tell, this is the same reject cause that I was receiving before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/505113?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 08:11:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f43c929-a814-47cf-abb4-450947decf7b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Just to verify full functionality of your device and SIM card, can you please run e.g. AT client, and then&lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-cellularmonitor/page/capturing.html"&gt; from the Cellular Monitor connect to the DK to capture modem traces&lt;/a&gt;. You can also collect modem traces from the sample application (https_client) with the failing host name.&amp;nbsp;&lt;br /&gt;These modem traces will provide more information to me to understand the underlying issue on your device.&amp;nbsp;&lt;/p&gt;
[quote user=""]Added the .pem file (filename dweet.io.pem) in the /cert directory, as well as added &amp;quot;...\n&amp;quot;:[/quote]
&lt;p&gt;Looking at the certificate already available in the https_client sample, this does not have \n&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/samples/net/https_client/cert/DigiCertGlobalG2.pem"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/samples/net/https_client/cert/DigiCertGlobalG2.pem&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please retry adding the CA certificate as done in the sample.&amp;nbsp;&lt;/p&gt;
[quote user="oys"]This EMM cause is sent to the UE if the MME cannot service an UE generated request because of PLMN failures.[/quote]
&lt;p&gt;Also, please verify and follow-up the reject cause from the network to ensure proper functionality on your board.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/504889?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2024 16:23:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8c25d46-2785-428c-99fb-c5cb12b6492a</guid><dc:creator>skar001</dc:creator><description>&lt;p&gt;Hi Oyvind,&lt;/p&gt;
&lt;p&gt;I updated my original message on this ticket in order to more accurately reflect the issue I am dealing with, as well as provide some more information on my setup.&lt;/p&gt;
&lt;p&gt;I confirmed that I am using the latest version (2.7.0) and I am using the iBasis nano SIM that came with the device. I believe that there are no issues with this SIM card, since I already successfully connected to example.com (see image below):&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1727972531868v8.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I think this issue is directly related to my attempt to change the certificate to a different web browser other than example.com&lt;/p&gt;
&lt;div data-node-type="mediaSingle" data-layout="align-start" data-width="561" data-width-type="pixel"&gt;
&lt;div title="Attachment" data-id="c3e34939-bef1-40dc-8e73-bf3440a21dbc" data-node-type="media" data-type="file" data-collection="contentId-820215861" data-width="561" data-height="358" data-alt="image-20241001-153438.png" data-context-id="820215861" data-file-mime-type="image/png" data-file-name="image-20241001-153438.png" data-file-size="14475"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client certificate change: "Certificate mismatch" error</title><link>https://devzone.nordicsemi.com/thread/504739?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 17:10:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9e6550b-bc14-442f-a122-787b03a4fee1</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""] am currently working with the Nordic nRF9160DK and am using the https_client example from the GitHub repository[/quote]
&lt;p&gt;What version of the nRF Connect SDK are you running? Last updated 2021 seems to be very old, i.e. here is a screenshot from NCS tag v2.7.0&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1727888340666v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I would recommend going through our &lt;a href="https://academy.nordicsemi.com/courses/cellular-iot-fundamentals/"&gt;Developer Academy - Cellular IoT Fundementals&lt;/a&gt;&amp;nbsp;if this is your first time with Nordic Semiconductor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what DevZone posts you are referring to, I would recommend including these to be able to understand what you are trying to achieve.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]cereg: 5,&amp;quot;4115&amp;quot;,&amp;quot;0336f50f&amp;quot;,7,0,17,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;[/quote]
&lt;p&gt;Your first screenshot tells me that your device is &lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands/page/REF/at_commands/nw_service/cereg_read.html"&gt;rejected by the network in the&amp;nbsp;Network registration status notification +CEREG&lt;/a&gt;. Position 7 - reject cause - includes&amp;nbsp;Cause #17 – Network failure&lt;br /&gt;This EMM cause is sent to the UE if the MME cannot service an UE generated request because of PLMN failures.&lt;/p&gt;
&lt;p&gt;What SIM are you using ?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>