{"id":816,"date":"2020-06-15T07:07:23","date_gmt":"2020-06-15T07:07:23","guid":{"rendered":"https:\/\/www.rapidsslonline.com\/ssl\/?p=816"},"modified":"2020-06-15T07:07:25","modified_gmt":"2020-06-15T07:07:25","slug":"what-is-ocsp-ssl-stapling","status":"publish","type":"post","link":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/","title":{"rendered":"What is OCSP SSL Stapling? How Does it Work? &#8211; Explained"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Here\u2019s all you needed to know about OCSP Stapling\u2026 in Layman\u2019s terms<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We know you\u2019re here to learn what OCSP SSL\/TLS Stapling is and how it works, but we often like to begin our articles with questions. Don\u2019t worry, we\u2019re going to cover OCSP stapling in the simplest way we can. Now, let\u2019s come back to the question. Have you ever seen or heard about an SSL certificate authority revoking an <a href=\"https:\/\/www.rapidsslonline.com\/in\/ssl-questions\/what-is-ssl.aspx\">SSL certificate<\/a>? Whether the answer to this question is \u201cyes\u201d or \u201cno,\u201d you need to understand the \u201cwhy\u201d behind the term \u201ccertificate revocation.\u201d<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">SSL Certificate Revocation: The \u201cWhat\u201d and \u201cWhy\u201d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As far as the meaning is concerned, \u201ccertificate revocation\u201d is exactly what it sounds like. It\u2019s a process conducted by the certificate authority to invalidate an issued SSL certificate they issued themselves. Therefore, the certificate is no longer in use and doesn\u2019t protect the information being transmitted between the web server and web browser. As it\u2019s no longer valid, users are notified about the certificate revocation to make them aware of the lack of security.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, why would a CA revoke a certificate that was issued by it in the first place? Well, there could be two primary reasons behind this. Most often it happens when the person\/organization that issued the certificate, submits a revocation request to the CA. And another possible, but less probable, reason is if the CA has mis-issued the certificate. In both the cases, certificate revocation becomes necessary as it leaves a big security hole that could be exploited very easily.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One thing to note here is that just revoking an SSL certificate isn\u2019t enough, it must be communicated to the end user to make them aware of the status so that they make an informed decision. That\u2019s where OCSP stapling comes into play.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">OCSP Stapling: The Bridge between the CA and the Browsers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Online Certificate Status Protocol (OCSP) stapling, also known as the TLS Certificate Status Request extension, is an internet standard that allows to check the validity status of X.509 digital certificates. OCSP stapling allows a web server to obtain a digitally signed and time-stamped OCSP response from the OCSP responder operated by the CA that issued the server certificate. The OCSP responder gives a \u2018valid\u2019 or \u2018revoked\u2019 status to the web browser, communicating to the browser about the validity status of the SSL certificate. If the web browser receives a \u201crevoked\u201d message, then it gives a warning to the users so that they don\u2019t exchange confidential information with that website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Here\u2019s How OCSP Stapling Works in SSL\/TLS Ecosystem<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A great thing about the OCSP stapling technology is that rather than becoming a completely different process, it becomes a part of standard <a href=\"https:\/\/www.rapidsslonline.com\/blog\/introducing-tls-1-3-future-encryption\/\">SSL\/TLS handshake<\/a> that\u2019s used to authenticate, encrypt and transmit the data between the web browser and web server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">This is how OCSP works:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When both parties (the browser and the server) come in contact, the web server responds by sharing the SSL certificate installed on it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Upon receiving the SSL certificate details, the browser requests the server to submit the copy of the response given by the OCSP responder.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In response, the web server gives the copy of the OCSP response.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The browser checks this response and displays the website only if the certificate is valid. The browser will give a warning instead if the certificate has been revoked.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simple, isn\u2019t it?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Advantages of OCSP Stapling<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You may or may not be aware that OCSP stapling was introduced as an alternative to a technique called \u201cCRL\u201d (certificate revocation list). In CRL, a certificate authority was supposed to maintain a list of all the certificates it has revoked and the browsers were supposed to visit these lists and know whether the certificate of the web server they\u2019re currently communicating with is valid or not. Just by the sound of it, this &nbsp;must be such a boring and dull process, right?Well, it is. That\u2019s because every time the browser has to perform a check, it slows down the performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OCSP, on the other hand, doesn\u2019t take a toll on the performance as the webserver (not a web browser) is supposed to download a copy of the OCSP response from the OCSP responder. The web browser simply has to download this copy from the webserver. Therefore, there is no direct contact between the web browser and the OCSP responder. This adds a lot of latency to the connection and doesn\u2019t slow down the browsing experience on the user\u2019s end. Another advantage when it comes to OCSP stapling is its ubiquity. Almost all modern-day web browsers support OCSP by default and therefore you don\u2019t need to enable it manually.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Potential Downside of OCSP Stapling<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Although OCSP stapling scores 10 out of 10 when it comes to serving its purpose, there is a minor concern about it. If the OCSP responder \u2013 for whatever reason \u2013 gets down, then the web servers won\u2019t be able to generate the latest copy of OCSP response from the responder. Therefore, the browsers won\u2019t get updated about the revocation and could cause serious security concerns.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to Verify If Your Server has OCSP Stapling Enabled<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">OCSP is, without a shadow of a doubt, a great technology that helps users stay away of the websites with revoked SSL certificates. And since all modern-day browsers support it by default, you don\u2019t need to enable it by yourself. But, by any chance, if you think that you have disabled it, you can perform the following steps to be on the safer side:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>First go to <a href=\"https:\/\/ssltools.digicert.com\/checker\/\">DigiCert SSL checker<\/a>.<\/li><li>Then type in the URL of your website and press the <strong>Check<\/strong> button.<\/li><li>After a few seconds, the results would be displayed. Click on the <strong>Server Configuration<\/strong> tab.<\/li><li>Click on <strong>Advanced server Configuration<\/strong> tab.<\/li><li>Check whether OCSP has been enabled or not.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">One thing to note here is that OCSP stapling isn\u2019t enabled by default in servers below Windows 2008. <a href=\"https:\/\/www.rapidsslonline.com\/ssl\/how-to-enable-ocsp-stapling-in-windows-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">Here\u2019s an easy<\/a>, step-by-step guide to enable OCSP stapling in Windows servers.<\/p>\n\n\n\n<div class=\"graysection\"><h2>Save Up to 82% on RapidSSL Certificates!<\/h2>\n<p>Protect your website with a RapidSSL single domain or wildcard SSL certificate and get a RapidSSL site seal for free.<\/p>\n<p><a class=\"more-link floatnone\" style=\"text-decoration: none;\" href=\"https:\/\/www.rapidsslonline.com\/ssl-brands\/rapidssl.aspx\">Shop Now<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here\u2019s all you needed to know about OCSP Stapling\u2026 in Layman\u2019s terms We know you\u2019re here to learn what OCSP SSL\/TLS Stapling is and how it works, but we often<\/p>\n<div class=\"article-wpr-button\"><a href=\"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/\" class=\"btn btn-green\">Read More<\/a><\/p>\n<div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-816","post","type-post","status-publish","format-standard","category-ssl-advanced"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is OCSP SSL Stapling? How Does it Work? - Explained<\/title>\n<meta name=\"description\" content=\"Learn about the most common and advance term about OCSP SSL stapling and how it works in data security in SSL communication. Read now.\" \/>\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.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is OCSP SSL Stapling? How Does it Work? - Explained\" \/>\n<meta property=\"og:description\" content=\"Learn about the most common and advance term about OCSP SSL stapling and how it works in data security in SSL communication. Read now.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/\" \/>\n<meta property=\"og:site_name\" content=\"SSL\/TLS Certificates\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/rsosslcertificates\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-15T07:07:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-15T07:07:25+00:00\" \/>\n<meta name=\"author\" content=\"rsossladmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@RSOSSL\" \/>\n<meta name=\"twitter:site\" content=\"@RSOSSL\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rsossladmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is OCSP SSL Stapling? How Does it Work? - Explained","description":"Learn about the most common and advance term about OCSP SSL stapling and how it works in data security in SSL communication. Read now.","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.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/","og_locale":"en_US","og_type":"article","og_title":"What is OCSP SSL Stapling? How Does it Work? - Explained","og_description":"Learn about the most common and advance term about OCSP SSL stapling and how it works in data security in SSL communication. Read now.","og_url":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/","og_site_name":"SSL\/TLS Certificates","article_publisher":"https:\/\/www.facebook.com\/rsosslcertificates\/","article_published_time":"2020-06-15T07:07:23+00:00","article_modified_time":"2020-06-15T07:07:25+00:00","author":"rsossladmin","twitter_card":"summary_large_image","twitter_creator":"@RSOSSL","twitter_site":"@RSOSSL","twitter_misc":{"Written by":"rsossladmin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/#article","isPartOf":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/"},"author":{"name":"rsossladmin","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/person\/3e29357f5e5d2c9349d69af7ee7e0361"},"headline":"What is OCSP SSL Stapling? How Does it Work? &#8211; Explained","datePublished":"2020-06-15T07:07:23+00:00","dateModified":"2020-06-15T07:07:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/"},"wordCount":1079,"commentCount":0,"publisher":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#organization"},"articleSection":["SSL Advanced"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/","url":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/","name":"What is OCSP SSL Stapling? How Does it Work? - Explained","isPartOf":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#website"},"datePublished":"2020-06-15T07:07:23+00:00","dateModified":"2020-06-15T07:07:25+00:00","description":"Learn about the most common and advance term about OCSP SSL stapling and how it works in data security in SSL communication. Read now.","breadcrumb":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ocsp-ssl-stapling\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"SSL Resources","item":"https:\/\/www.rapidsslonline.com\/ssl\/"},{"@type":"ListItem","position":2,"name":"SSL Advanced","item":"https:\/\/www.rapidsslonline.com\/ssl\/ssl-advanced\/"},{"@type":"ListItem","position":3,"name":"What is OCSP SSL Stapling? How Does it Work? &#8211; Explained"}]},{"@type":"WebSite","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#website","url":"https:\/\/www.rapidsslonline.com\/ssl\/","name":"SSL\/TLS Certificates","description":"Secure a website in few minutes with Trusted SSL Certificate","publisher":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rapidsslonline.com\/ssl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#organization","name":"RapidSSLOnline","url":"https:\/\/www.rapidsslonline.com\/ssl\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/logo\/image\/","url":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/10\/rapidsslonline-logo.png","contentUrl":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/10\/rapidsslonline-logo.png","width":266,"height":39,"caption":"RapidSSLOnline"},"image":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/rsosslcertificates\/","https:\/\/x.com\/RSOSSL","https:\/\/in.linkedin.com\/company\/rapidsslonline-com"]},{"@type":"Person","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/person\/3e29357f5e5d2c9349d69af7ee7e0361","name":"rsossladmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cf2ab5c0a7dc43f8ef0e96e302af463c71e9fccb9c0392857a20c0cc593a1b65?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cf2ab5c0a7dc43f8ef0e96e302af463c71e9fccb9c0392857a20c0cc593a1b65?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cf2ab5c0a7dc43f8ef0e96e302af463c71e9fccb9c0392857a20c0cc593a1b65?s=96&d=mm&r=g","caption":"rsossladmin"}}]}},"_links":{"self":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/posts\/816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/comments?post=816"}],"version-history":[{"count":0,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/posts\/816\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/media?parent=816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/categories?post=816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/tags?post=816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}