{"id":223,"date":"2019-06-18T08:59:24","date_gmt":"2019-06-18T08:59:24","guid":{"rendered":"http:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/?p=223"},"modified":"2020-12-14T13:20:23","modified_gmt":"2020-12-14T13:20:23","slug":"https-by-default","status":"publish","type":"post","link":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/2019\/06\/https-by-default\/","title":{"rendered":"HTTPS by default"},"content":{"rendered":"\n<p>In 2017 EMBL-EBI moved to using HTTPS by default. This was the guide we wrote for internal teams about the project<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Web browsers, including the next version of Chrome launching \nOctober, are being increasingly assertive to their users that sites not \nusing HTTPS are insecure<\/li><li>If we continue to run on HTTP by default this will bring a negative reputation to EMBL-EBI<\/li><li>From the <strong>2-October<\/strong> users on the <strong>www.ebi.ac.uk<\/strong> domain will be automatically redirected from HTTP -&gt; HTTPS urls<\/li><li>If you operate a service which does not run on HTTPS you need to raise a ticket before this date with <a href=\"mailto:www-prod@ebi.ac.uk\">Web Production<\/a>. State that you want either:\n<ul><li>An exception put in to redirect from HTTPS -&gt; HTTP (the prefered workaround)<\/li><li>The service left as is, e.g. operating on both HTTP and HTTPS (this has risks \u2013 see below)<\/li><\/ul>\n<\/li><\/ul>\n\n\n\n<p><em><strong>Note<\/strong>: Originally we\u2019d said 1-Oct, however that \nis a Sunday and we want to perform this update during office hours to \ngive maximum support during the roll out.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The details<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Why are we doing this?<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Why is HTTPS better than HTTP?<\/h5>\n\n\n\n<p>The benefits of HTTPS are numerous. The major benefits are improving \nend user trust in our site, services and brand. HTTPS means that users \nhave <strong>privacy<\/strong>, can have confidence in the <strong>integrity<\/strong> of the delivery of our services, and can validate the&nbsp;<strong>identity<\/strong> of EMBL-EBI.<\/p>\n\n\n\n<p>HTTPS is better for SEO and enables the use of new technologies such \nas HTTP\/2. It is rapidly becoming the default for many trusted sites and\n services, both in science and in the wider web. Services like NCBI, \nExPasy, and already many of our own EMBL-EBI websites: PDBe, EGA, ChEMBL\n use HTTPS by default.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Why do this now?<\/h5>\n\n\n\n<p>As of October 2017 Chrome will be marking all pages that are not served by HTTPS as insecure when a user focus an input element.<\/p>\n\n\n\n<p>Firefox is less assertive, but does warn users when you are submitting password data on HTTP.<\/p>\n\n\n\n<figure class=\"vf-figure wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"vf-figure__image\" src=\"https:\/\/www.ebi.ac.uk\/about\/clusters\/technical-services\/wp-content\/uploads\/2017\/09\/Screen-Shot-2017-09-08-at-15.46.07.png\" alt=\"Screnshot of Chrome 62 - Focusing any input field on a HTTP connection causes a 'Not Secure' warning to appear\" class=\"wp-image-552\" width=\"420\" height=\"293\"\/><figcaption class=\"vf-figure__caption\">Chrome 62 \u2013 Focusing any input field on a HTTP connection causes a \u2018Not Secure\u2019 warning to appear<\/figcaption><\/figure>\n\n\n\n<figure class=\"vf-figure wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"vf-figure__image\" src=\"https:\/\/www.ebi.ac.uk\/about\/clusters\/technical-services\/wp-content\/uploads\/2017\/09\/Screen-Shot-2017-09-08-at-15.44.48.png\" alt=\"Firefox screen shot showing shown on a password field on HTTP\" class=\"wp-image-550\" width=\"301\" height=\"82\"\/><figcaption class=\"vf-figure__caption\">Firefox \u2013 Warning shown on a password field on HTTP<\/figcaption><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Why apply this to all traffic on the domain?<\/h5>\n\n\n\n<p>In terms of a user\u2019s experience, if some of the EMBL-EBI site is on \nHTTP and some on HTTPS this creates an issue when navigating , users \njump from the encrypted navigation space to a non-encrypted one and see \nthe \u201cSecure\u201d and \u201cInsecure\u201d symbols and warnings appear intermittently.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">What has been done already?<\/h5>\n\n\n\n<p>For a long time the Web Production team have provided certificates \nand configuration for EMBL-EBI hosted services to run on both HTTP and \nHTTPS urls. Services have the choice to make one of these the default if\n they so desire by adding an appropriate redirect.<\/p>\n\n\n\n<p>Although the main EMBL-EBI public site runs on both HTTP and HTTPS \nthe version on HTTP is the default listed in search engines, thus 97% of\n our users are on HTTP. As most users enter a service via a search \nengine or via the main EMBL-EBI site then enter the service on a HTTP \nlink.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">What is the plan?<\/h4>\n\n\n\n<p>On <strong>1-October<\/strong> users on the <strong>www.ebi.ac.uk<\/strong> domain will be automatically redirected from HTTP -&gt; HTTPS urls. This will be setup by the Web Production team.<\/p>\n\n\n\n<p>To help you test if your service has any issues the same redirect will be added to the wwwdev domain on<strong> 15-September<\/strong>.<\/p>\n\n\n\n<p>By performing this for the whole domain we maximise the benefits for \nour users, and minimise any reputational impact from users seeing \nwarnings in their web browsers.<\/p>\n\n\n\n<p>The majority of links on the public site are \u2018<a href=\"https:\/\/tools.ietf.org\/html\/rfc3986#section-4.2\">protocol relative\u2019<\/a>,\n and use the protocol the user is currently on, but some are not.&nbsp; \nAdding this redirect means that we don\u2019t need to update links on \nindividual services or web pages, users will be automatically updated to\n the secure version.<\/p>\n\n\n\n<p>That said the www.ebi.ac.uk domain is a collection of many hundreds \nof interconnected websites and webservices. We know that some of these \nare not yet ready to run on only the secure HTTPS urls. For these \nservice we can add execptions to these redirects.<\/p>\n\n\n\n<p>We strongly recommend that if your service does not run on HTTPS that\n you ask for a redirect from HTTPS -&gt; HTTP. Although your service \nmight currently be running on both protocols, and you\u2019re not seeing much\n traffic on the broken HTTPS version this will very likely change when \nwe roll out the redirect to the remainder of the domain. This is because\n users will now be coming from HTTPS pages, and links into the service \nwill most likely be protocol relative and from 1-October link into the \nservice on the HTTPS url.<\/p>\n\n\n\n<p>If you operate a service which does not run on HTTPS you need to raise a ticket before this date with <a href=\"mailto:www-prod@ebi.ac.uk\">Web Production<\/a>.<\/p>\n\n\n\n<p>The web development team will be making required updates to the \ncorporate and training websites, including the service directory. They \nwill also be setting the appropriate settings for the search engines \nthat are dealt with at a global level.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">What do I need to do?<\/h4>\n\n\n\n<p>If you manage a service that runs on www.ebi.ac.uk you need to:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Check if your service can be accessed on HTTPS\n<ul><li>Does the service respond?<\/li><li>Does the service function as expected?<\/li><li>Does the padlock next to the URL go green? If not clicking on the padlock will give you diagnostic information.<\/li><\/ul>\n<\/li><li>If you have issues, and are unable to fix them before 1-October then raise a ticket before this date with <a href=\"mailto:www-prod@ebi.ac.uk\">Web Production<\/a> and ask for an exception to be added, either:\n<ul><li>An expection put in to redirect from HTTPS -&gt; HTTP (the prefered workaround)<\/li><li>The service left as is, e.g. operating on both HTTP and HTTPS<\/li><\/ul>\n<\/li><li>If you run APIs you may wish to communicate this change to your \nusers, and update your documentation so that clients expect to be \nredirected from insecure to secure urls.<\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">How can I get help?<\/h4>\n\n\n\n<p>The following resources may be of use when checking your service:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/developers.google.com\/web\/fundamentals\/security\/prevent-mixed-content\/fixing-mixed-content\">Google guide to avoiding mixed content warnings<\/a>:<\/li><li>Mixed content scanning tools:\n<ul><li><a href=\"https:\/\/httpschecker.net\/how-it-works#httpsChecker\">https:\/\/httpschecker.net\/how-it-works#httpsChecker<\/a><\/li><li><a href=\"https:\/\/github.com\/bramus\/mixed-content-scan\">https:\/\/github.com\/bramus\/mixed-content-scan<\/a><\/li><\/ul>\n<\/li><\/ul>\n\n\n\n<p>If you have questions on the process for redirects please contact <a href=\"mailto:www-prod@ebi.ac.uk\">Web Production.<\/a><\/p>\n\n\n\n<p>If you have questions on the corporate website, or the Visual Framework (e.g. shared EMBL-EBI JS and CSS), please contact <a href=\"mailto:www-prod@ebi.ac.uk\">Web Development.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In 2017 EMBL-EBI moved to using HTTPS by default. This was the guide we wrote for internal teams about the project Summary Web browsers, including the next version of Chrome launching October, are being increasingly assertive to their users that sites not using HTTPS are insecure If we continue to&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1789,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"embl_taxonomy":[],"class_list":["post-223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"acf":[],"embl_taxonomy_terms":[],"featured_image_src":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-content\/uploads\/2019\/06\/https.png","_links":{"self":[{"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/posts\/223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/comments?post=223"}],"version-history":[{"count":2,"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/posts\/223\/revisions"}],"predecessor-version":[{"id":225,"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/posts\/223\/revisions\/225"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/media\/1789"}],"wp:attachment":[{"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/media?parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/categories?post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/tags?post=223"},{"taxonomy":"embl_taxonomy","embeddable":true,"href":"https:\/\/www.ebi.ac.uk\/about\/teams\/its-web-development\/wp-json\/wp\/v2\/embl_taxonomy?post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}