<?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>Server certificate expiry time is not verified</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128536/server-certificate-expiry-time-is-not-verified</link><description>Dear support, 
 We are connecting with an MQTT server with an expired server certificate. My expectation is that the handshake fails, but apparently the NRF9161 accepts the server. I make use of the Nordic SDK v3.3.1, modem firmware 2.0.2, MQTT helper</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jun 2026 14:24:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128536/server-certificate-expiry-time-is-not-verified" /><item><title>RE: Server certificate expiry time is not verified</title><link>https://devzone.nordicsemi.com/thread/568380?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2026 14:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ed3a04f-3f93-4c29-85a0-0ff1315167a2</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Joost,&lt;/p&gt;
&lt;p&gt;The certificate expiry time is not verified during the TLS handshake, because the modem firmware cannot be guaranteed to have a valid calendar time. Time may be obtained from the network, but this is not guaranteed.&lt;/p&gt;
&lt;p&gt;Without a valid time, it&amp;#39;s possible that no TLS connection can be opened. To minimize that risk, certificate expiry is not validated. If this validation is a requirement for you, one solution is to move the TLS stack to the application core using Mbed TLS.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>