{"id":4166,"date":"2017-05-31T10:10:02","date_gmt":"2017-05-31T14:10:02","guid":{"rendered":"https:\/\/www.thesslstore.com\/blog\/?p=4166"},"modified":"2023-04-10T11:21:33","modified_gmt":"2023-04-10T15:21:33","slug":"firefox-disable-ocsp-checking","status":"publish","type":"post","link":"https:\/\/www.thesslstore.com\/blog\/firefox-disable-ocsp-checking\/","title":{"rendered":"Firefox Will Disable OCSP Checking for DV and OV Certificates"},"content":{"rendered":"<h2>The Revocation Mechanism Has Been Blamed for Delayed Page Loads<\/h2>\n<p>Mozilla will be experimenting with <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1366100\" rel=\"nofollow\">disabling OCSP checking<\/a> due to performance concerns. OCSP, or <a href=\"https:\/\/www.thesslstore.com\/blog\/ocsp-stapling-best-method-checking-certificate-validity\/\">Online Certificate Status Protocol<\/a>, is one of the technical mechanisms used to check if a certificate has been revoked.<span id=\"newline\"><\/span><\/p>\n<p>The change will be made in an upcoming version of <a href=\"https:\/\/www.mozilla.org\/en-US\/firefox\/channel\/desktop\/#nightly\" rel=\"nofollow\"><em>Nightly<\/em><\/a> \u2013 a pre-release version of Firefox dedicated to testing new features. If telemetry data shows that it&#8217;s best to disable OCSP checking for DV and OV certificates because it reduces the total time of the handshake, it will be brought to the consumer release of Firefox.<\/p>\n<p>This will bring Firefox to par with other major browsers, including Chrome and Safari, which<\/p>\n<p>OCSP Stapling \u2013 where the server provides the OCSP response directly to the client \u2013 will not be affected. Firefox will also continue to fetch OCSP responses for EV (Extended Validation) certificates.<\/p>\n<p>OCSP has long been criticized as being broken. Because of the operational challenges of deploying the service at a global scale, OCSP often ends up in a situation where it \u201csoft-fails\u201d \u2013 meaning in the case that an OCSP check isn\u2019t completed (because the server is down or the connection times out) the certificate is assumed to be valid. With soft-fail, it\u2019s hard to see how OCSP provides any security benefits. Adam Langley, an engineer at Google, compared this problem to \u201c<a href=\"https:\/\/www.imperialviolet.org\/2012\/02\/05\/crlsets.html\" rel=\"nofollow\">a seat-belt that snaps when you crash<\/a>.\u201d<\/p>\n<p>According to <a href=\"https:\/\/telemetry.mozilla.org\/new-pipeline\/dist.html#!cumulative=0&amp;end_date=2017-01-25&amp;keys=__none__!__none__!__none__&amp;max_channel_version=release%252F51&amp;measure=CERT_VALIDATION_HTTP_REQUEST_SUCCEEDED_TIME&amp;min_channel_version=null&amp;processType=*&amp;product=Firefox&amp;sanitize=1&amp;sort_keys=submissions&amp;start_date=201\" rel=\"nofollow\">Mozilla\u2019s telemetry<\/a>, nearly 9% of successful OCSP checks take more than 1 second. This second adds to the time it takes to establish the SSL\/TLS handshake, and represents a significant increase to overall load time.<\/p>\n<p>In a very small number of cases (less than .05% of the time), a successful check takes over 3 seconds. While that is a very low rate it represents more than 4 million page loads.<\/p>\n<p>Coincidently, <a href=\"https:\/\/news.ycombinator.com\/item?id=14374933\" rel=\"nofollow\">Let\u2019s Encrypt\u2019s OCSP service failed earlier this month<\/a> for about 12 hours, causing performance issues for websites using their certificates. Last year the CA <a href=\"https:\/\/www.thesslstore.com\/blog\/problem-globalsign-certificates\/\">GlobalSign also suffered an issue related to their OCSP servers<\/a>. These incidents issues raise questions about the net value of OCSP and if it\u2019s causing more harm than good.<\/p>\n<p>David Keeler, a security engineer at Mozilla, <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1366100#c12\" rel=\"nofollow\">wrote<\/a> that \u201cthe plan is to monitor telemetry to see if this impacts TLS handshake time.\u201d If there is a performance improvement, they will move forward with disabling the check in all versions of Firefox.<\/p>\n<p>Improvements to OCSP were designed years ago \u2013 two additions to the protocol known as Stapling and Must-Staple intended to fix the performance, security, and privacy issues. However, Apache and NGINX, which are the most commonly used webservers, either implement these features poorly or not at all.<\/p>\n\n<span style=\"display:none\" class=\"tl-placeholder-f-type-shortcode_12753\"><\/span>","protected":false},"excerpt":{"rendered":"<p>The Revocation Mechanism Has Been Blamed for Delayed Page Loads Mozilla will be experimenting with disabling OCSP checking due to performance concerns. OCSP, or Online Certificate Status Protocol, is one&#8230;<\/p>\n","protected":false},"author":2,"featured_media":4169,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","tve_updated_post":"","tve_custom_css":"","tve_user_custom_css":"","tve_globals":{},"tcb2_ready":0,"tcb_editor_enabled":0,"tve_landing_page":"","_tve_header":"","_tve_footer":""},"categories":[130],"tags":[151,192,239,279],"class_list":["post-4166","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-everything-encryption","tag-firefox","tag-mozilla","tag-ocsp","tag-web-browsers","post-with-tags"],"views":18703,"jetpack_featured_media_url":"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2017\/05\/iStock-596363226.jpg","_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/4166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/comments?post=4166"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/4166\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media\/4169"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media?parent=4166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/categories?post=4166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/tags?post=4166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}