{"id":13566,"date":"2026-10-15T07:50:00","date_gmt":"2026-10-15T05:50:00","guid":{"rendered":"https:\/\/www.lukaswojcik.com\/blog\/?p=13566"},"modified":"2026-11-13T22:00:40","modified_gmt":"2026-11-13T21:00:40","slug":"certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl","status":"publish","type":"post","link":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/","title":{"rendered":"Certificate Chains: Why a Site Opens in the Browser and Fails in curl"},"content":{"rendered":"<p>A browser opening a website while curl rejects it is a useful symptom, but not a diagnosis. Missing intermediate certificates are one possible cause. Different trust stores, TLS libraries, network routes, proxy settings or validation rules can produce the same contrast.<\/p>\n<figure class=\"lw-diagram\"><img decoding=\"async\" src=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/diagrams\/dia-13566-certificate-chains-20261024-en.png?v=20261113\" width=\"1120\" height=\"580\" loading=\"lazy\" alt=\"Certificate chain checks: list, trust, hostname and diagnosis\"><figcaption>Certificate chain checks: list, trust, hostname and diagnosis<\/figcaption><\/figure>\n<h2>The transmitted list and the trusted path<\/h2>\n<p>The leaf certificate identifies the website. A trust store contains certificates that the client already accepts as trusted. The server presents its leaf certificate and normally the intermediate certificates needed to reach a trusted issuer. A client builds and validates a path using that material and its own trust configuration. The transmitted list and the validated path are therefore not necessarily identical.<\/p>\n<p>A root can be sent, but sending it does not create trust. TLS 1.3 permits omission of a trust-anchor certificate. Conversely, one transmitted certificate is not universal proof of a missing intermediate: direct issuance by a trusted root is possible. Several certificates are not proof of a valid path either.<\/p>\n<h2>Why clients can disagree<\/h2>\n<p>Some validation systems obtain missing issuers from an Authority Information Access (AIA) URL or reuse locally available intermediates. Availability, network access and policy matter. Windows documents configurable AIA retrieval; curl can use Windows Schannel, Apple trust services or file-based stores depending on the build. The rule \u201cbrowsers fetch, curl never does\u201d is too broad.<\/p>\n<p>A useful comparison records the exact hostname, resolved address, client version, TLS backend and CA configuration. A proxy can present a different certificate. A browser success does not establish that another application&#8217;s trust store or policies will accept the endpoint.<\/p>\n<h2>Certificate files and renewal<\/h2>\n<p>Certbot uses <code>cert.pem<\/code> for the leaf, <code>chain.pem<\/code> for intermediates and <code>fullchain.pem<\/code> for their combination. The server&#8217;s documentation decides which setting receives which file; these are Certbot conventions, not universal CA filenames.<\/p>\n<p>Correct renewal files still need correct deployment. A service using copied files or not reloading can continue serving an old chain. After renewal, the actual endpoint needs checking alongside the files on disk. No evidence establishes that one particular file mistake is the most common TLS fault.<\/p>\n<h2>Inspection and verification as separate checks<\/h2>\n<pre><code>openssl s_client -connect example.com:443 -servername example.com \\\n  -showcerts -verify_hostname example.com -verify_return_error &lt; \/dev\/null\ncurl -vI https:\/\/example.com\/<\/code><\/pre>\n<p><code>-showcerts<\/code> displays the server-sent certificates. <code>-servername<\/code> supplies SNI, telling the server which hostname is requested; <code>-verify_hostname<\/code> performs the separate name check. <code>-verify_return_error<\/code> makes a verification failure abort instead of merely appearing in diagnostic output. A missing CA configuration can itself cause failure. These POSIX-shell examples use the installed default trust configuration and do not perform a complete browser-policy or revocation audit.<\/p>\n<p>The curl command verifies by default and requests HTTP headers. A later HTTP error is distinct from a TLS failure. Disabling verification with <code>-k<\/code> hides an important check and does not repair the chain.<\/p>\n<h2>What was tested here<\/h2>\n<p>Ten isolated checks used temporary private certificates and a loopback server. A valid chain and matching name passed. Omitting the intermediate or requesting the wrong name failed verification. Without the strict OpenSSL option, the missing-intermediate test still exited with code zero; with it, the exit code was one. No trust was installed system-wide and no external website was contacted.<\/p>\n<p>The same tests confirmed the example wildcard: <code>*.example.test<\/code> matched <code>www.example.test<\/code>, but neither the bare domain nor <code>a.b.example.test<\/code>. Modern service-identity rules use subject alternative names rather than Common Name fallback. An HTTPS redirect cannot repair a name failure at the initial hostname: TLS happens before that HTTP response.<\/p>\n<h2>The historical twelve-site sample<\/h2>\n<p>An archived summary dated 2 September 2026 records twelve hosts: six chain counts of three and six of four. It reports 90-day validity for that sample and 31\u201388 remaining days; the median is 70, while the arithmetic mean is about 61.9. These are historical recorded values, not a fresh measurement or a universal industry lifetime.<\/p>\n<p>The summary contains no original PEM chains or complete handshake logs. The counts cannot independently establish what every server transmitted, and the spread of remaining days does not prove a renewal schedule. Claims about current TLS support or issuer distribution require a new, documented measurement.<\/p>\n<h2>Interpreting the toolbox result<\/h2>\n<p>The site&#8217;s TLS inspector checks the first selected address with verification enabled, then attempts an unverified diagnostic connection only if the first attempt fails. A successful connection permits separate protocol attempts. Results concern that address and the server-side client, not every CDN endpoint or browser.<\/p>\n<p>Its descriptive labels are aids, not definitive root-cause proof: a general verification failure can have several causes. \u201cOCSP\u201d in the certificate metadata indicates an advertised responder, not a successful revocation check. A failed old-protocol attempt may also reflect local restrictions or network failure.<\/p>\n<h2>When an endpoint stops working<\/h2>\n<p>The comparison covers the actual chain, hostname, validity dates, client clock and trust configuration, plus deployment after renewal, alternate endpoints and proxy changes. Updating a CA store may help when a required trusted root is missing, but counting certificates cannot establish that this is the only remedy.<\/p>\n<div class=\"lw-faq\">\n<h2>Questions and answers<\/h2>\n<h3>Does it help to add the root certificate to the transmitted chain?<\/h3>\n<p>No. Trust comes only from the root in the client\u2019s trust store; a root sent along by the server changes nothing about that. If the root is missing from the store, validation still fails, and it is no substitute for a missing intermediate. The extra certificate only makes every handshake larger.<\/p>\n<h3>Why is the exit code of openssl s_client not enough in a monitoring script?<\/h3>\n<p>Because without <code>-verify_return_error<\/code>, s_client only reports a verification error and completes the connection anyway. In the test, the case with a missing intermediate therefore ended with exit code zero; only with the option was it one. A script that evaluates only the exit code needs this option or has to read the printed \u201cVerify return code\u201d line.<\/p>\n<p>Even then, the script checks only the installed trust configuration of its own machine. The name needs <code>-verify_hostname<\/code> as well, no revocation check takes place, and success says nothing about how clients with other trust stores decide.<\/p>\n<h3>After a renewal, only some clients report a chain error. Where is the search worth starting?<\/h3>\n<p>When only some clients fail, the difference lies either in the endpoint they reach or in their own validation. These places are worth comparing:<\/p>\n<ul>\n<li>Several endpoints. One hostname can stand for several addresses, load balancers or CDN nodes. If the new files were not deployed everywhere or the service was not reloaded everywhere, part of them still serves the old chain. Each resolved address therefore needs its own check.<\/li>\n<li>The wrong file. If the server configuration receives only the leaf certificate (cert.pem with Certbot) where it expects the combination (fullchain.pem), the intermediate is missing. Clients that fetch missing issuers or have them available locally do not notice; others fail.<\/li>\n<li>A proxy. A proxy on the path of individual clients can present a different certificate.<\/li>\n<li>The client itself. An outdated trust store, a different TLS library or a wrong clock cause errors that have nothing to do with the server\u2019s chain.<\/li>\n<\/ul>\n<p>Each finding needs the hostname, resolved address, client version, TLS library and CA configuration in the record; only a comparison of two complete entries shows where the difference lies.<\/p>\n<h3>Why does a redirect from the bare domain to www not help when the certificate only covers www?<\/h3>\n<p>Because the client validates the certificate before it receives any HTTP response at all. If the name check fails for the bare domain, the redirect never arrives. A wildcard such as *.example.test does not help either, because it does not cover the bare domain; what is needed is a certificate whose Subject Alternative Names include both names.<\/p>\n<\/div>\n<h2>Sources<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc8446.html\">RFC 8446: TLS certificate message<\/a><\/li>\n<li><a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc9525.html\">RFC 9525: service identity and wildcard matching<\/a><\/li>\n<li><a href=\"https:\/\/curl.se\/docs\/sslcerts.html\">curl: certificate verification and trust stores<\/a><\/li>\n<li><a href=\"https:\/\/docs.openssl.org\/3.0\/man1\/openssl-s_client\/\">OpenSSL: s_client diagnostic and verification options<\/a><\/li>\n<li><a href=\"https:\/\/eff-certbot.readthedocs.io\/en\/stable\/using.html#where-are-my-certificates\">Certbot: certificate files and deployment<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/security\/authority-information-access-retrieval\">Microsoft: configurable AIA retrieval<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A browser success does not diagnose a curl failure. Trust paths, hostname checks and client settings explain the difference; isolated certificate tests show why counting certificates or relying on an exit code can mislead.<\/p>\n","protected":false},"author":1,"featured_media":29488,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[137],"tags":[91144,91219,91115],"class_list":["post-13566","post","type-post","status-publish","format-standard","hentry","category-tutorials-en-it-networks","tag-devops","tag-tutorial","tag-web-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Certificate Chains: Why a Site Opens in the Browser and Fails in curl | Lukas Wojcik<\/title>\n<meta name=\"description\" content=\"Why an incomplete TLS chain passes in the browser and breaks curl and webhooks, what twelve well-known sites actually send, and how the missing intermediate is found.\" \/>\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.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Certificate Chains: Why a Site Opens in the Browser and Fails in curl | Lukas Wojcik\" \/>\n<meta property=\"og:description\" content=\"Why an incomplete TLS chain passes in the browser and breaks curl and webhooks, what twelve well-known sites actually send, and how the missing intermediate is found.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/\" \/>\n<meta property=\"og:site_name\" content=\"Lukas Wojcik\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-15T05:50:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-13T21:00:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-13566-13566.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Lukas Wojcik\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lukas Wojcik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/\"},\"author\":{\"name\":\"Lukas Wojcik\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/en\\\/#person\"},\"headline\":\"Certificate Chains: Why a Site Opens in the Browser and Fails in curl\",\"datePublished\":\"2026-10-15T05:50:00+00:00\",\"dateModified\":\"2026-11-13T21:00:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/\"},\"wordCount\":1288,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/en\\\/#person\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll-13566-13566.png\",\"keywords\":[\"DevOps\",\"Tutorials\",\"Web security\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/\",\"name\":\"Certificate Chains: Why a Site Opens in the Browser and Fails in curl | Lukas Wojcik\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll-13566-13566.png\",\"datePublished\":\"2026-10-15T05:50:00+00:00\",\"dateModified\":\"2026-11-13T21:00:40+00:00\",\"description\":\"Why an incomplete TLS chain passes in the browser and breaks curl and webhooks, what twelve well-known sites actually send, and how the missing intermediate is found.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll-13566-13566.png\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll-13566-13566.png\",\"width\":1200,\"height\":630,\"caption\":\"Certificate Chains: Why a Site Opens in the Browser and Fails in curl\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/it-networks\\\/tutorials-en-it-networks\\\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Certificate Chains: Why a Site Opens in the Browser and Fails in curl\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/#website\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/\",\"name\":\"Lukas Wojcik\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/en\\\/#person\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":[\"de\",\"en\",\"pl\"],\"alternateName\":\"LW IT Solutions\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/en\\\/#person\",\"name\":\"Lukas Wojcik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"width\":424,\"height\":636,\"caption\":\"Lukas Wojcik\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\"],\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/en\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Certificate Chains: Why a Site Opens in the Browser and Fails in curl | Lukas Wojcik","description":"Why an incomplete TLS chain passes in the browser and breaks curl and webhooks, what twelve well-known sites actually send, and how the missing intermediate is found.","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.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/","og_locale":"en_US","og_type":"article","og_title":"Certificate Chains: Why a Site Opens in the Browser and Fails in curl | Lukas Wojcik","og_description":"Why an incomplete TLS chain passes in the browser and breaks curl and webhooks, what twelve well-known sites actually send, and how the missing intermediate is found.","og_url":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/","og_site_name":"Lukas Wojcik","article_published_time":"2026-10-15T05:50:00+00:00","article_modified_time":"2026-11-13T21:00:40+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-13566-13566.png","type":"image\/png"}],"author":"Lukas Wojcik","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lukas Wojcik","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/#article","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/"},"author":{"name":"Lukas Wojcik","@id":"https:\/\/www.lukaswojcik.com\/en\/#person"},"headline":"Certificate Chains: Why a Site Opens in the Browser and Fails in curl","datePublished":"2026-10-15T05:50:00+00:00","dateModified":"2026-11-13T21:00:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/"},"wordCount":1288,"commentCount":0,"publisher":{"@id":"https:\/\/www.lukaswojcik.com\/en\/#person"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-13566-13566.png","keywords":["DevOps","Tutorials","Web security"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/","url":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/","name":"Certificate Chains: Why a Site Opens in the Browser and Fails in curl | Lukas Wojcik","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/#primaryimage"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-13566-13566.png","datePublished":"2026-10-15T05:50:00+00:00","dateModified":"2026-11-13T21:00:40+00:00","description":"Why an incomplete TLS chain passes in the browser and breaks curl and webhooks, what twelve well-known sites actually send, and how the missing intermediate is found.","breadcrumb":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/#primaryimage","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-13566-13566.png","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-13566-13566.png","width":1200,"height":630,"caption":"Certificate Chains: Why a Site Opens in the Browser and Fails in curl"},{"@type":"BreadcrumbList","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/it-networks\/tutorials-en-it-networks\/certificate-chains-why-a-site-opens-in-the-browser-and-fails-in-curl\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lukaswojcik.com\/blog\/de\/"},{"@type":"ListItem","position":2,"name":"Certificate Chains: Why a Site Opens in the Browser and Fails in curl"}]},{"@type":"WebSite","@id":"https:\/\/www.lukaswojcik.com\/#website","url":"https:\/\/www.lukaswojcik.com\/","name":"Lukas Wojcik","description":"","publisher":{"@id":"https:\/\/www.lukaswojcik.com\/en\/#person"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lukaswojcik.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":["de","en","pl"],"alternateName":"LW IT Solutions"},{"@type":"Person","@id":"https:\/\/www.lukaswojcik.com\/en\/#person","name":"Lukas Wojcik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","width":424,"height":636,"caption":"Lukas Wojcik"},"logo":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg"},"sameAs":["https:\/\/www.lukaswojcik.com\/blog"],"url":"https:\/\/www.lukaswojcik.com\/en\/"}]}},"_links":{"self":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/13566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/comments?post=13566"}],"version-history":[{"count":6,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/13566\/revisions"}],"predecessor-version":[{"id":27041,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/13566\/revisions\/27041"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media\/29488"}],"wp:attachment":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media?parent=13566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/categories?post=13566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/tags?post=13566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}