{"id":47477,"date":"2026-11-23T09:55:25","date_gmt":"2026-11-23T08:55:25","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=47477"},"modified":"2026-11-23T09:57:49","modified_gmt":"2026-11-23T08:57:49","slug":"sql-server-what-is-really-happening-when-a-tls-certificate-expires","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/","title":{"rendered":"SQL Server: what is really happening when a TLS certificate expires?"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">This post was written following a consulting day spent configuring the security of a client&#8217;s environment. While creating a TLS certificate, I was explaining what was at stake with the certificate and emphasizing that its validity date had to be monitored, either at the level of their CA or directly on each VM. But my client&#8217;s question left me puzzled: &#8220;How much time do I have to change it when it expires?? And is the whole instance blocked??&#8221;<br>This is the question I wanted to analyze in this article.<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>New connection at 13:04:45<\/th><th>Connection string<\/th><th>Result<\/th><\/tr><tr><td>Encrypted, certificate validated<\/td><td><code>Encrypt=True;TrustServerCertificate=False<\/code><\/td><td>OK<\/td><\/tr><tr><td>Encrypted, certificate not validated<\/td><td><code>Encrypt=True;TrustServerCertificate=True<\/code><\/td><td>OK<\/td><\/tr><tr><td>No encryption requested<\/td><td><code>Encrypt=False<\/code><\/td><td>OK<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Three successful connections to a SQL Server 2022 instance, including one that asks for encryption <strong>and<\/strong> validates the server certificate. Nothing special, <strong>except that the certificate presented by the instance had expired at 12:24:21, forty minutes earlier.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ten minutes later, the same script against the same instance, <strong>from a freshly opened PowerShell window<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>New connection at 13:15:33<\/th><th>Connection string<\/th><th>Result<\/th><\/tr><tr><td>Encrypted, certificate validated<\/td><td><code>Encrypt=True;TrustServerCertificate=False<\/code><\/td><td><strong>FAILED<\/strong>: <em>The received certificate has expired.<\/em><\/td><\/tr><tr><td>Encrypted, certificate not validated<\/td><td><code>Encrypt=True;TrustServerCertificate=True<\/code><\/td><td>OK<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The setup was absolutely identical, the only difference between the two runs is the process that opened the connection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From these results, what I wanted to measure is <strong>which ones survive, for how long, and what makes them stop<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A certificate is the security piece that lets a client check that the server it is connecting is the one it asked for (authentication), before sending credentials and data to it. Encryption without that check protects against someone listening (confidentiality), and does not protect against someone answering in the server&#8217;s place. TLS therefore gives <strong>confidentiality<\/strong>, because the traffic is encrypted, and <strong>authentication<\/strong>, because the certificate proves who the server is.<\/p>\n\n\n\n<h2 id=\"h-the-context-in-three-facts\" class=\"wp-block-heading\">The context in three facts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nowadays, <strong>certificates tend to live shorter and shorter<\/strong>. With <a href=\"https:\/\/cabforum.org\/2025\/04\/11\/ballot-sc081v3-introduce-schedule-of-reducing-validity-and-data-reuse-periods\/\">Ballot SC-081v3<\/a>, voted by Apple, Google, Microsoft and Mozilla among others, the maximum validity of a public TLS certificate drops as follows. An internal CA is not bound by it, but more and more, security teams are asking for more frequent renewals.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Certificate issued on or after<\/th><th>Certificate issued before<\/th><th>Maximum validity period<\/th><\/tr><tr><td><\/td><td>2026-03-15<\/td><td>398 days<\/td><\/tr><tr><td>2026-03-15<\/td><td>2027-03-15<\/td><td>200 days<\/td><\/tr><tr><td>2027-03-15<\/td><td>2029-03-15<\/td><td>100 days<\/td><\/tr><tr><td>2029-03-15<\/td><td><\/td><td>47 days<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Source: <a href=\"https:\/\/github.com\/cabforum\/servercert\/blob\/main\/docs\/BR.md\" target=\"_blank\" rel=\"noopener\">Baseline Requirements for TLS Server Certificates<\/a>, section 6.3.2, CA\/Browser Forum.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The validity of the certificate is checked on the client side, not on the server side. <code>Encrypt=True;TrustServerCertificate=False<\/code> validates the chain, the name and the dates, while <code>TrustServerCertificate=True<\/code> encrypts the connection but accepts whatever certificate the server presents, without validating it. <a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/database-engine\/configure-windows\/configure-sql-server-encryption?view=sql-server-ver17#certificate-precedence\" data-type=\"link\" data-id=\"https:\/\/learn.microsoft.com\/en-us\/sql\/database-engine\/configure-windows\/configure-sql-server-encryption?view=sql-server-ver17#certificate-precedence\">The certificate itself is chosen by SQL Server at startup<\/a>: the thumbprint stored in the registry, else a suitable certificate from the Local Computer store, else a self-generated one that no client can validate.<br>The registry shows what will be loaded next time and the error log what was loaded last time:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n$inst = &quot;&lt;INSTANCE_NAME&gt;&quot;\n$id = (Get-ItemProperty &quot;HKLM:\\SOFTWARE\\Microsoft\\Microsoft SQL Server\\Instance Names\\SQL&quot;).$inst\n$reg = &quot;HKLM:\\SOFTWARE\\Microsoft\\Microsoft SQL Server\\$id\\MSSQLServer\\SuperSocketNetLib&quot;\n$svcName = &quot;MSSQL`$$inst&quot;\n&quot;registry = $((Get-ItemProperty $reg).Certificate)&quot;\nsqlcmd -S &quot;.\\$inst&quot; -E -C -W -Q &quot;EXEC xp_readerrorlog 0,1,N&#039;certificate&#039;&quot;\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nregistry = 051d1727dc7c0a68ec3b6aacaebdb6175b277635\n2026-10-03 11:37:06.530 spid17s The certificate &#x5B;Cert Hash(sha1) &quot;051D1727DC7C0A68EC3B6AACAEBDB6175B277635&quot;] was successfully loaded for encryption.\n<\/pre><\/div>\n\n\n<h2 id=\"h-let-s-build-an-evil-certificate-that-lives-one-hour\" class=\"wp-block-heading\">Let&#8217;s build an evil certificate that lives one hour<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Everything below ran on SQL Server 2022, named instance <code>TESTLB<\/code> on <code>sqlagvm1.lto.local<\/code>, with an AD CS authority. The test client and server are the same machine, and every connection negotiated TLS 1.2.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because I didn&#8217;t want to wait for a real certificate to expire, I duplicated the certificate template used for SQL Server and gave the copy <span style=\"text-decoration: underline\">a validity of one hour<\/span>, with a renewal period of zero.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/10\/image-18.png\" alt=\"\" class=\"wp-image-47484\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Once the template is published on the CA, the certificate is requested from the SQL Server machine, with a domain account:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n$a = (Get-Certificate -Template &quot;CopyofSQLServerTLS1h&quot; -SubjectName &quot;CN=sqlagvm1.lto.local&quot; `\n      -DnsName &quot;sqlagvm1.lto.local&quot; -CertStoreLocation Cert:\\LocalMachine\\My).Certificate\n$a | Format-List Subject, DnsNameList, Thumbprint, NotAfter\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSubject     : CN=sqlagvm1.lto.local\nDnsNameList : {sqlagvm1.lto.local}\nThumbprint  : AFB7BBB468088FD141A0270F6B55F49D3FAEE2DA\nNotAfter    : 03.10.2026 12:24:21\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The service account gets Read on the private key (<code>certlm.msc<\/code>, <em>Manage Private Keys<\/em>), then the thumbprint goes into the registry and the instance restarts:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\nSet-ItemProperty $reg -Name Certificate -Value &quot;afb7bbb468088fd141a0270f6b55f49d3faee2da&quot;\nRestart-Service $svcName -Force\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n2026-10-03 11:47:59.910 spid17s The certificate &#x5B;Cert Hash(sha1) &quot;AFB7BBB468088FD141A0270F6B55F49D3FAEE2DA&quot;] was successfully loaded for encryption.\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The test script opens three connections, one per client behaviour. I set <code>Pooling=False<\/code> because with a pool, <code>Open()<\/code> would hand back an existing connection and prove nothing.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n$srv = &quot;tcp:sqlagvm1.lto.local\\TESTLB&quot;\n$cas = &#x5B;ordered]@{\n  &quot;Encrypt + validation&quot; = &quot;Encrypt=True;TrustServerCertificate=False&quot;\n  &quot;Encrypt + trust&quot;      = &quot;Encrypt=True;TrustServerCertificate=True&quot;\n  &quot;Without encryption&quot;   = &quot;Encrypt=False&quot;\n}\n&quot;--- $(Get-Date -Format HH:mm:ss) ---&quot;\nforeach ($c in $cas.GetEnumerator()) {\n  $cn = New-Object System.Data.SqlClient.SqlConnection(&quot;Server=$srv;Integrated Security=True;Pooling=False;$($c.Value)&quot;)\n  try { $cn.Open(); &quot;$($c.Key) : OK&quot; }\n  catch { &quot;$($c.Key) : FAILED - $($_.Exception.Message)&quot; }\n  finally { $cn.Close() }\n}\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n--- 11:48:30 ---\nEncrypt + validation : OK\nEncrypt + trust : OK\nWithout encryption : OK\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Two more things before the expiry. I opened one validated connection and kept it:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n$keep = New-Object System.Data.SqlClient.SqlConnection(&quot;Server=$srv;Integrated Security=True;Pooling=False;Encrypt=True;TrustServerCertificate=False&quot;)\n$keep.Open()\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">And around 11:50 I pointed the registry back to the long-lived certificate, <strong>without restarting<\/strong>:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\nSet-ItemProperty $reg -Name Certificate -Value &quot;051d1727dc7c0a68ec3b6aacaebdb6175b277635&quot;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The script still returned three OKs, which is expected: the instance keeps presenting what it loaded at 11:47:59. The registry is read at startup only.<\/p>\n\n\n\n<h2 id=\"h-after-12-24-21\" class=\"wp-block-heading\">After 12:24:21<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Forty minutes after the expiry, in the PowerShell window that had been running the script since 11:48, I ran the same 3 checks as before:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n--- 13:04:45 ---\nEncrypt + validation : OK\nEncrypt + trust : OK\nWithout encryption : OK\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The connection opened before the expiry was still alive too, which at least proved the instance had not restarted in the meantime:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n$cmd = $keep.CreateCommand(); $cmd.CommandText = &quot;SELECT GETDATE()&quot;; $cmd.ExecuteScalar()\n\nSaturday, 3 October 2026 13:05:05\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Is the driver ignoring the dates, or is this process spared a new validation? A second driver and a second process answer that.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>sqlcmd<\/code> with <code>-N<\/code> asks for encryption, and without <code>-C<\/code> it validates the certificate:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\nC:\\&gt;sqlcmd -S &quot;tcp:sqlagvm1.lto.local\\TESTLB&quot; -E -N -Q &quot;SELECT 1&quot;\nSqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : SSL Provider: The received certificate has expired.\nSqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Client unable to establish connection.\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Then the original script, unchanged, in a <strong>new<\/strong> PowerShell window:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n--- 13:15:33 ---\nEncrypt + validation : FAILED - Exception calling &quot;Open&quot; with &quot;0&quot; argument(s): &quot;A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The received certificate has expired.)&quot;\nEncrypt + trust : OK\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">So <code>System.Data.SqlClient<\/code> does check the dates. It fails in a new process and succeeds in the old one, at the same moment, against the same expired certificate.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Connection<\/th><th>Result after expiry<\/th><\/tr><tr><td>Already open before the expiry<\/td><td>keeps working<\/td><\/tr><tr><td>New, <code>TrustServerCertificate=True<\/code><\/td><td>OK<\/td><\/tr><tr><td>New, validated, from a process started after the expiry<\/td><td>fails: <em>The received certificate has expired<\/em><\/td><\/tr><tr><td>New, validated, from a process that had connected before the expiry<\/td><td><strong>OK (but for how long?)<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the last line, the old process never receives the certificate again, so it has nothing to validate.<\/p>\n\n\n\n<h2 id=\"h-looking-at-the-tls-session-cache-with-wireshark\" class=\"wp-block-heading\">Looking at the TLS session cache with Wireshark<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">TLS 1.2 has two handshake modes: <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc5246\" target=\"_blank\" rel=\"noopener\">RFC 5246, section 7.3<\/a> describes the full one, where the server sends its <code>Certificate<\/code>, and the abbreviated one, where the client puts the Session ID of an earlier session in its <code>ClientHello<\/code>, the server finds it in its session cache, answers with the same ID, and both sides go straight to <code>ChangeCipherSpec<\/code> and <code>Finished<\/code>. <strong>No certificate is sent in an abbreviated handshake<\/strong>, so there is nothing for the client to validate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The full handshake, where the server sends its certificate:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/10\/image-19.png\" alt=\"\" class=\"wp-image-47486\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">And the abbreviated one, used when a session is resumed:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/10\/image-20.png\" alt=\"\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Unfortunately, Windows has no command to list its TLS session cache. What can be observed is the handshake itself. I had to restart the VM before capturing, so the captures below were taken with the valid certificate back in place. Therefore, they show the mechanism but not the expired certificate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The setup in Wireshark, on the server:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>capture on <em>Adapter for loopback traffic capture<\/em>, since client and server are the same machine<\/li>\n\n\n\n<li>find the instance port in the error log (<code>Server is listening on [ 'any' &lt;ipv4&gt; 55203]<\/code>)<\/li>\n\n\n\n<li><em>Decode As&#8230;<\/em> <strong>TDS <\/strong>on that <strong>server<\/strong> port, because SQL Server wraps the TLS handshake inside TDS pre-login packets and a named instance does not listen on 1433<\/li>\n\n\n\n<li>display filter <code>tls.handshake<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">One new PowerShell process, the same validated connection opened twice:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/10\/image-27-1024x168.png\" alt=\"\" class=\"wp-image-47495\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Packets 23 to 29 are a <span style=\"text-decoration: underline\">full handshake<\/span>: <code>Server Hello, Certificate, Server Key Exchange, Server Hello Done<\/code>, 1941 bytes from the server. Packets 52 to 56 are the second connection: <code>Server Hello, Change Cipher Spec, Encrypted Handshake Message<\/code>, 193 bytes, and no <code>Certificate<\/code>. The second <code>Client Hello<\/code> is also 32 bytes larger than the first once the IPv6 and IPv4 headers are accounted for, which is the size of a Session ID.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now two different PowerShell processes, one connection each, seven seconds apart:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/10\/image-25.png\" alt=\"\" class=\"wp-image-47493\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Two full handshakes, two <code>Certificate<\/code> messages, two identical 252-byte <code>Client Hello<\/code>. The second process did not benefit from the session the first one had just established.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is the key of these tests: with SQLClient, a process that validated the certificate once resumes its session on later connections, and the certificate is never looked at again. <strong>A new process starts with an empty cache, receives the certificate, checks the dates and refuses.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How long does it last? The client cache lifetime is the <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/security\/tls\/tls-registry-settings\" target=\"_blank\" rel=\"noopener\"><code>ClientCacheTime<\/code><\/a> value under <code>HKLM\\SYSTEM\\CurrentControlSet\\Control\\SecurityProviders\\SCHANNEL<\/code>, in milliseconds. It does not exist by default, and the documented <strong><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/security\/tls\/tls-registry-settings?tabs=diffie-hellman#clientcachetime\" data-type=\"link\" data-id=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/security\/tls\/tls-registry-settings?tabs=diffie-hellman#clientcachetime\">default is 10 hours<\/a><\/strong>. On my machine:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\nGet-ItemProperty &quot;HKLM:\\SYSTEM\\CurrentControlSet\\Control\\SecurityProviders\\SCHANNEL&quot; |\n  Select-Object ClientCacheTime, ServerCacheTime\n\nClientCacheTime ServerCacheTime\n--------------- ---------------\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Both empty, so the defaults (10 hours) apply.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To check that this setting really is the one behind the behaviour, I set it to 0, which the documentation says turns the client cache off:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n$sch = &quot;HKLM:\\SYSTEM\\CurrentControlSet\\Control\\SecurityProviders\\SCHANNEL&quot;\nNew-ItemProperty $sch -Name ClientCacheTime -PropertyType DWord -Value 0 -Force\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Without a restart, nothing changed: the second connection of a new process was still resumed. After a restart of the machine, the same two connections from one PowerShell process with 10 seconds interval:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/10\/image-29-1024x183.png\" alt=\"\" class=\"wp-image-47500\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Two full handshakes and two <code>Certificate<\/code> messages, where the same test had shown a resumption before. The value is read at boot, and it does control the cache the SQL Server drivers go through. With the cache off, every new connection receives the certificate again and validates it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Following these tests, I proposed a clarification to the Microsoft documentation. Microsoft reproduced the behavior, scoped it to the drivers it applies to, and updated the Expired certificates section of <a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/database-engine\/configure-windows\/certificate-requirements#expired-certificates\">Certificate requirements for SQL Server<\/a>.<\/strong><\/p>\n\n\n\n<h2 id=\"h-renewing-the-certificate-in-sql-server\" class=\"wp-block-heading\">Renewing the certificate in SQL Server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The test answers the practical question as well. I had pointed the registry to the long-lived certificate at 11:50 and left it. When the VM restarted:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n2026-10-03 13:24:35.010 spid17s The certificate &#x5B;Cert Hash(sha1) &quot;051D1727DC7C0A68EC3B6AACAEBDB6175B277635&quot;] was successfully loaded for encryption.\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n--- 13:25:01 ---\nEncrypt + validation : OK\nEncrypt + trust : OK\nWithout encryption : OK\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Everything can be prepared online, and the restart does the switch.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Step<\/th><th>Interruption<\/th><\/tr><tr><td>Request the new certificate and put it in the Local Computer store<\/td><td>none<\/td><\/tr><tr><td>Grant the service account Read on its private key<\/td><td>none<\/td><\/tr><tr><td>Write the new thumbprint to <code>SuperSocketNetLib\\Certificate<\/code><\/td><td>none<\/td><\/tr><tr><td>Restart the SQL Server service<\/td><td><strong>yes<\/strong><\/td><\/tr><tr><td>Check the thumbprint in the error log<\/td><td>none<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Three points to keep in mind as well for this process to run without any errors :<\/p>\n\n\n\n<ul class=\"nv-cv-m wp-block-list\">\n<li><strong>The private key permission.<\/strong> The documentation warns that without read permission for the service account <a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/database-engine\/configure-windows\/configure-sql-server-encryption\" target=\"_blank\" rel=\"noopener\">the restart can fail<\/a>.<\/li>\n\n\n\n<li><strong>The names.<\/strong> The Subject Alternative Name must hold every name clients connect to. In an availability group that means the host name and FQDN of the replica <strong>and<\/strong> the listener names, <a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/database-engine\/configure-windows\/certificate-requirements#always-on-availability-group\" target=\"_blank\" rel=\"noopener\">on each replica&#8217;s certificate<\/a>.<\/li>\n\n\n\n<li><strong>The deadline.<\/strong> The restart has to happen before the old certificate expires.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Keep the old certificate in the store until the new thumbprint shows up in the error log because if you need to rollback, just set the old thumbprint back in the registry.<\/p>\n\n\n\n<h2 id=\"h-what-to-take-from-this\" class=\"wp-block-heading\">What to take from this<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SQL Server loads its TLS certificate at startup and presents it until the next restart. A renewal is therefore three online steps (the store, the private key permission, the thumbprint) and one restart, which has to be done before the old certificate expires.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But missing the timing before expiration doesn&#8217;t always make clients connexion to be refused. Indeed, the clients that validate the certificate do fail, but not together: open connections survive, a process that connected before the expiry keeps resuming its TLS session without ever seeing the certificate again, <strong>for up to 10 hours by default on Windows<\/strong>, and a process started afterwards fails on its first connection. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">None of this is something you want to repeat by hand on every instance, several times a year. My colleague <a href=\"https:\/\/www.linkedin.com\/in\/nathan-courtine-138a0854\/\" data-type=\"link\" data-id=\"https:\/\/www.linkedin.com\/in\/nathan-courtine-138a0854\/\">Nathan Courtine<\/a> scripts the whole sequence in PowerShell in <a href=\"https:\/\/www.dbi-services.com\/blog\/automate-encryption-in-transit-for-sql-server\/\" target=\"_blank\" rel=\"noopener\">Automate encryption-in-transit for SQL Server<\/a>: find the certificate in the store, grant the service account Read on its private key, write the thumbprint to the registry, restart, and check that the connection is encrypted. His post covers the first deployment, and a renewal goes through the same steps with a new certificate.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An expired TLS certificate on SQL Server does not break every client at once. Measured, then proven with Wireshark and Schannel.<\/p>\n","protected":false},"author":157,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[99],"tags":[1149,2211],"class_list":["post-47477","post","type-post","status-publish","format-standard","category-sql-server","tag-certificate","tag-tls"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>SQL Server: what is really happening when a TLS certificate expires? - dbi services Blog<\/title>\n<meta name=\"description\" content=\"An expired TLS certificate on SQL Server does not break every client at once. Measured, then proven with Wireshark and Schannel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Server: what is really happening when a TLS certificate expires?\" \/>\n<meta property=\"og:description\" content=\"An expired TLS certificate on SQL Server does not break every client at once. Measured, then proven with Wireshark and Schannel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-23T08:55:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-23T08:57:49+00:00\" \/>\n<meta name=\"author\" content=\"Louis Tochon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Louis Tochon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/\"},\"author\":{\"name\":\"Louis Tochon\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/f346aec2e39387f71c1c2ceab92cc549\"},\"headline\":\"SQL Server: what is really happening when a TLS certificate expires?\",\"datePublished\":\"2026-11-23T08:55:25+00:00\",\"dateModified\":\"2026-11-23T08:57:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/\"},\"wordCount\":1772,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/image-18.png\",\"keywords\":[\"Certificate\",\"TLS\"],\"articleSection\":[\"SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/\",\"name\":\"SQL Server: what is really happening when a TLS certificate expires? - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/image-18.png\",\"datePublished\":\"2026-11-23T08:55:25+00:00\",\"dateModified\":\"2026-11-23T08:57:49+00:00\",\"description\":\"An expired TLS certificate on SQL Server does not break every client at once. Measured, then proven with Wireshark and Schannel.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Server: what is really happening when a TLS certificate expires?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/f346aec2e39387f71c1c2ceab92cc549\",\"name\":\"Louis Tochon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/LTO_WEB.jpg\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/LTO_WEB.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/LTO_WEB.jpg\",\"caption\":\"Louis Tochon\"},\"description\":\"Louis Tochon specializes in SQL Server and Oracle database administration, with expertise in performance optimization, scripting, backup\\\/restore, and high availability (Always-On). He is Microsoft Certified Azure Database Administrator Associate. He completed a master's thesis in cybersecurity at SICPA and worked as a SQL Server and Oracle DBA for almost two years at Lombard-Odier. Louis holds a Master's degree in Information Systems from HEC Lausanne. His industry experience covers mainly the banking sector.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/louis-tochon\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SQL Server: what is really happening when a TLS certificate expires? - dbi services Blog","description":"An expired TLS certificate on SQL Server does not break every client at once. Measured, then proven with Wireshark and Schannel.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/","og_locale":"en_US","og_type":"article","og_title":"SQL Server: what is really happening when a TLS certificate expires?","og_description":"An expired TLS certificate on SQL Server does not break every client at once. Measured, then proven with Wireshark and Schannel.","og_url":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2026-11-23T08:55:25+00:00","article_modified_time":"2026-11-23T08:57:49+00:00","author":"Louis Tochon","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Louis Tochon","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/"},"author":{"name":"Louis Tochon","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/f346aec2e39387f71c1c2ceab92cc549"},"headline":"SQL Server: what is really happening when a TLS certificate expires?","datePublished":"2026-11-23T08:55:25+00:00","dateModified":"2026-11-23T08:57:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/"},"wordCount":1772,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/10\/image-18.png","keywords":["Certificate","TLS"],"articleSection":["SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/","url":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/","name":"SQL Server: what is really happening when a TLS certificate expires? - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/10\/image-18.png","datePublished":"2026-11-23T08:55:25+00:00","dateModified":"2026-11-23T08:57:49+00:00","description":"An expired TLS certificate on SQL Server does not break every client at once. Measured, then proven with Wireshark and Schannel.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-what-is-really-happening-when-a-tls-certificate-expires\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SQL Server: what is really happening when a TLS certificate expires?"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/f346aec2e39387f71c1c2ceab92cc549","name":"Louis Tochon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/11\/LTO_WEB.jpg","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/11\/LTO_WEB.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/11\/LTO_WEB.jpg","caption":"Louis Tochon"},"description":"Louis Tochon specializes in SQL Server and Oracle database administration, with expertise in performance optimization, scripting, backup\/restore, and high availability (Always-On). He is Microsoft Certified Azure Database Administrator Associate. He completed a master's thesis in cybersecurity at SICPA and worked as a SQL Server and Oracle DBA for almost two years at Lombard-Odier. Louis holds a Master's degree in Information Systems from HEC Lausanne. His industry experience covers mainly the banking sector.","url":"https:\/\/www.dbi-services.com\/blog\/author\/louis-tochon\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/47477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/157"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=47477"}],"version-history":[{"count":20,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/47477\/revisions"}],"predecessor-version":[{"id":48996,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/47477\/revisions\/48996"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=47477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=47477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=47477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}