{"id":1912,"date":"2018-04-30T12:34:17","date_gmt":"2018-04-30T12:34:17","guid":{"rendered":"https:\/\/www.fastcomet.com\/blog\/?p=1912"},"modified":"2022-06-10T06:20:00","modified_gmt":"2022-06-10T06:20:00","slug":"hsts-improve-your-ssl-rating","status":"publish","type":"post","link":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating","title":{"rendered":"HSTS: Achieve SSL Labs A+ Grade with FastComet"},"content":{"rendered":"\n<p class=\"has-drop-cap\">Ensuring security is set up correctly for your website is very important, especially when it comes to protecting yourself from hackers. The rapid development of new technologies, strict compliance standards, and evolving threats from hackers make it essential to keep your business\u2019 security tools up-to-date and as strong as possible.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>FastComet is proud to provide its customers with the most state-of-the-art online security solutions available. It\u2019s our responsibility to make sure all our customers are well-protected and secure at every level. HSTS (HTTP Strict Transport Security) is yet another brick in the firewall of defense against fraud. It makes your SSL implementation more secure by closing a couple of key attack vectors. Best of all, we have ensured its setup is quick, easy and free.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-https-matter\">Why HTTPS Matter?<\/h2>\n\n\n\n<p>You should already know that HTTPS is now a requirement for any websites. Beginning in July 2018 with the release of Chrome 68, Chrome browser will mark all HTTP sites as \u201cnot secure\u201d and prominently highlight this in its URL bar which will quickly scare away visitors. And yes, we did say &#8220;all.&#8221; The urge to get rid of unsecured navigation has never been stronger: each release of Google Chrome or Mozilla Firefox comes with a new warning sign for users sharing private data. Even if you don\u2019t care that much about your own website security, Google does. HTTPS is a small ranking factor in Google in organic web search algorithms and is categorized as a \u2018site quality\u2019 score along with many other factors such as page speed and mobile responsiveness. There are numerous different enhancements and best security practices you can implement to ensure that your site is locked down.<\/p>\n\n\n\n<p>But padlocking your website is still not enough to automatically redirect all your HTTP traffic to the HTTPS secured version as people will eventually find a way to reach your website over HTTP:\/\/. This is why one of the enhancements we recommend implementing is the HTTP Strict Transport Security over HTTPS. Doing so helps prevent SSL protocol attacks, SSL stripping, cookie hijacking, and other attempts to circumvent SSL protection. And the best part is that you greatly improve your overall SSL rating with FastComet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-hsts\">What is HSTS?<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.fastcomet.com\/tutorials\/security\/what-is-hsts\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">HTTP Strict Transport Security<\/a> (commonly referred to as HSTS) is an opt-in browser security mechanism that lets website owners declare \u201cEncrypted Communications Only\u201d. The Strict-Transport-Security HTTP header instructs browsers to only interact with the domain over secure HTTPS protocol (SSL\/TLS) for a set period of time (the max-age header which we are adding in the .htaccess file while enabling HSTS). HSTS only goes into effect after a browser receives a valid header from the domain. The goal of HSTS is to ensure unencrypted communication between the client and the browser, is not allowed on your site and to mitigate attacks such as Man-in-the-Middle (MITM) which might attempt to keep you on HTTP.<\/p>\n\n\n\n<p>But why do you need this when you already have redirected your site to SSL? Obtaining an SSL Certificate will never be enough. Although websites may have implemented SSL certificate through SSL technology like <a href=\"https:\/\/www.fastcomet.com\/blog\/lets-encrypt-ssl-available-in-cpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Let\u2019s Encrypt<\/a>, more often than not the web browsers use HTTP first and then make the switch to HTTPS, even for websites which support this security protocol. Therefore this dangerous gap \u2013 before the switch is made \u2013 leaves the connection exposed to hackers. HSTS technology can help eliminate this dangerous gap.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Although our systems prefer the HTTPS version by default, you can also make this clearer for other search engines by redirecting your HTTP site to your HTTPS version and by implementing the HSTS header on your server.<a href=\"https:\/\/webmasters.googleblog.com\/2015\/12\/indexing-https-pages-by-default.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\"> Zineb Ait Bahajji<\/a>, Google Security Team<\/p><\/blockquote>\n\n\n\n<p>HSTS is not a replacement for HTTPS. HSTS is meant for situations when users are not actually visiting your site, but a site that is pretending to be your site, and therefore does not have an SSL certificate. So this fake site won\u2019t have a redirect to SSL!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-enabling-hsts\">Enabling HSTS<\/h2>\n\n\n\n<p>When HSTS is enabled for a site, web browsers automatically change any insecure requests (HTTP:\/\/) to secure requests (https:\/\/). All you need to do to enable HSTS is add a header to your site&#8217;s .htaccess file. Web browsers recognize this header, and then take care of the rest without any further intervention on your part. Follow our step by step tutorial on <a href=\"https:\/\/www.fastcomet.com\/tutorials\/security\/how-to-enable-hsts\">How to enable HSTS<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-enable-browser-pre-recognition-of-hsts\">How to Enable Browser Pre-recognition of HSTS?<\/h2>\n\n\n\n<p>There\u2019s something called <a href=\"https:\/\/www.fastcomet.com\/tutorials\/security\/add-domain-to-preload-list\">HSTS preload list<\/a> \u2013 which is nothing but a list of HSTS enabled websites \u2013 that is automatically stored in the browsers. Google officially compiles this list and it is utilized by Chrome, Firefox, Opera, Safari, IE11, and Edge. Submit your site to the <a href=\"https:\/\/hstspreload.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">official HSTS preload list<\/a>. Equipped with this HSTS preload list, the browser when accessing a website will check whether the website it\u2019s trying to access figures on this list, and if it does, the browser will automatically start using the secure HTTPS connection.<\/p>\n\n\n\n<p>However, in order to be eligible for the HSTS preload list through this form, your site must satisfy the following set of requirements:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Serve a valid SSL\/TLS certificate.<\/li><li>Redirect all traffic from HTTP to HTTPS.<\/li><li>Serve all subdomains over HTTPS, specifically including the www subdomain if it exists.<\/li><li>Serve an HSTS header on the base domain for HTTPS requests:<\/li><li>The max-age must be at least 31536000 seconds (1 year).<\/li><\/ul>\n\n\n\n<p>The preload directive is non-standard, but important since once this is all up and running you want to submit your domain for HSTS preloading. It should be noted though that inclusion in the <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.fastcomet.com\/tutorials\/security\/remove-domain-from-preload-list\" target=\"_blank\">preload list cannot easily be undone<\/a>. Don&#8217;t request inclusion unless you&#8217;re sure that you can support HTTPS for your entire site and all its subdomains in the long term.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-passing-ssl-check-with-an-a-grade\">Passing SSL Check with an A+ Grade<\/h2>\n\n\n\n<p>There are many SSL checkers out there which are used to check the validity and installation of a websites SSL Certificate. If you are not too sure how secure your website is, try testing it here:<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/www.ssllabs.com\/ssltest\n<\/div><\/figure>\n\n\n\n<p>SSL Labs by Qualys is one of the most popular SSL testing tools to check all latest vulnerability &amp; misconfiguration, and we use it on a daily basis. It will fully analyze your SSL configuration and give you a score (anywhere from an A to an F) and a full report. Quite often it will come back with a score of \u2018A\u2019\u2026 which sounds pretty good but you are still potentially exposed to a Man In The Middle (MITM) attack against the server, decrypting previously captured data, or in the case of client-initiated SSL renegotiation, cause a denial of service against the server.<\/p>\n\n\n\n<p>SSL configurations are considered insecure if a server supports one or more of the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Connections without Strict-Transport-Security set<\/li><li>Connections with forwarding secrecy disabled<\/li><\/ul>\n\n\n\n<p>Not happy with your \u2018A\u2019 now? Read on how to hit that A+ and keep your website happy.<\/p>\n\n\n\n<p>Just to make sure our SSLs are in top-notch, we recently made available HSTS on all our<a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.fastcomet.com\/compare-shared-package\" target=\"_blank\"> Shared Web Hosting packages<\/a>. To implement HSTS for your website, you must have a valid SSL Certificate. If you employ subdomains in your content structure, you will need a Wildcard Certificate to cover HTTPS only. Alternatively, you&#8217;re pretty safe with a Domain Validated, Organization Validated or Extended Validation SSL Certificate. Make sure you have these installed and working correctly. Just a quick reminder that we fully support <a href=\"https:\/\/www.fastcomet.com\/blog\/lets-encrypt-wildcard-ssl-certificates-are-here\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Let\u2019s Encrypt Wildcard certificates<\/a>. Using the Free Lets&#8217; Encrypt Wildcard certificate makes the setup and maintenance of websites with subdomains much easier, as they can now be encrypted with a single certificate. We&#8217;re proud to be among the first hosting companies to launch this option.<\/p>\n\n\n\n<p>Having HSTS enabled for your website, web browsers automatically change any insecure requests (HTTP:\/\/) to secure requests (https:\/\/). Web browsers recognize this header, and then take care of the rest without any further intervention on your part. Not only does HTTP Strict Transport Security (HSTS) help you get an A+ SSL rating from SSL Labs, it will help protect your website against two primary types of man-in-the-middle attacks (MitM): protocol downgrade attacks and cookie hijacking. To see if your SSL certificate is working properly, head over to <a href=\"https:\/\/www.ssllabs.com\/ssltest\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">SSL Labs<\/a>, fill in your domain name and see what kind of score you get.<\/p>\n\n\n\n<p>Defaults matter and most people will stick with them. HSTS is important, and HTTPS is kind of incomplete without it. As we\u2019re serious about HTTPS Everywhere then we need to be just as serious about enabling HSTS as we are about making sure everyone is serving content over HTTPS. Finding a way to encourage its use whenever possible would go a long way towards boosting security on the web as well as adhere to one of the primary principles of the Let\u2019s Encrypt initiative we fully support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ensuring security is set up correctly for your website is very important, especially when it comes to protecting yourself from hackers. The rapid development of new technologies, strict compliance standards, and evolving threats from hackers make it essential to keep your business\u2019 security tools up-to-date and as strong as possible.<\/p>\n","protected":false},"author":2,"featured_media":1909,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[140,4726],"tags":[234,213,172],"class_list":["post-1912","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-service-updates","tag-hsts","tag-https","tag-ssl"],"featured_image_src":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2018\/04\/hsts.jpg","author_info":{"display_name":"Elena","author_link":"https:\/\/www.fastcomet.com\/blog\/author\/elenatileva"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HSTS: Achieve SSL Labs A+ Grade with FastComet | FastComet<\/title>\n<meta name=\"description\" content=\"HSTS is now available on all \u261b FastComet \u261a Shared Web Hosting packages. Learn how to improve your website \u2713 SSL rating \u2713 Security \u2713 Page load speed and SEO.\" \/>\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.fastcomet.com\/blog\/hsts-improve-your-ssl-rating\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HSTS: Achieve SSL Labs A+ Grade with FastComet | FastComet\" \/>\n<meta property=\"og:description\" content=\"HSTS is now available on all \u261b FastComet \u261a Shared Web Hosting packages. Learn how to improve your website \u2713 SSL rating \u2713 Security \u2713 Page load speed and SEO.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating\" \/>\n<meta property=\"og:site_name\" content=\"FastComet Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-04-30T12:34:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-10T06:20:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2018\/04\/hsts.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"620\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Elena\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ElenaTileva\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elena\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HSTS: Achieve SSL Labs A+ Grade with FastComet | FastComet","description":"HSTS is now available on all \u261b FastComet \u261a Shared Web Hosting packages. Learn how to improve your website \u2713 SSL rating \u2713 Security \u2713 Page load speed and SEO.","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.fastcomet.com\/blog\/hsts-improve-your-ssl-rating","og_locale":"en_US","og_type":"article","og_title":"HSTS: Achieve SSL Labs A+ Grade with FastComet | FastComet","og_description":"HSTS is now available on all \u261b FastComet \u261a Shared Web Hosting packages. Learn how to improve your website \u2713 SSL rating \u2713 Security \u2713 Page load speed and SEO.","og_url":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating","og_site_name":"FastComet Blog","article_published_time":"2018-04-30T12:34:17+00:00","article_modified_time":"2022-06-10T06:20:00+00:00","og_image":[{"width":1024,"height":620,"url":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2018\/04\/hsts.jpg","type":"image\/jpeg"}],"author":"Elena","twitter_card":"summary_large_image","twitter_creator":"@ElenaTileva","twitter_misc":{"Written by":"Elena","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating#article","isPartOf":{"@id":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating"},"author":{"name":"Elena","@id":"https:\/\/www.fastcomet.com\/blog\/#\/schema\/person\/9ef9240ced73eac50f0efa4cfeec79fb"},"headline":"HSTS: Achieve SSL Labs A+ Grade with FastComet","datePublished":"2018-04-30T12:34:17+00:00","dateModified":"2022-06-10T06:20:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating"},"wordCount":1478,"commentCount":0,"image":{"@id":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating#primaryimage"},"thumbnailUrl":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2018\/04\/hsts.jpg","keywords":["hsts","https","ssl"],"articleSection":["Security","Service Updates"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating","url":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating","name":"HSTS: Achieve SSL Labs A+ Grade with FastComet | FastComet","isPartOf":{"@id":"https:\/\/www.fastcomet.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating#primaryimage"},"image":{"@id":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating#primaryimage"},"thumbnailUrl":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2018\/04\/hsts.jpg","datePublished":"2018-04-30T12:34:17+00:00","dateModified":"2022-06-10T06:20:00+00:00","author":{"@id":"https:\/\/www.fastcomet.com\/blog\/#\/schema\/person\/9ef9240ced73eac50f0efa4cfeec79fb"},"description":"HSTS is now available on all \u261b FastComet \u261a Shared Web Hosting packages. Learn how to improve your website \u2713 SSL rating \u2713 Security \u2713 Page load speed and SEO.","breadcrumb":{"@id":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating#primaryimage","url":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2018\/04\/hsts.jpg","contentUrl":"https:\/\/www.fastcomet.com\/blog\/wp-content\/uploads\/2018\/04\/hsts.jpg","width":1024,"height":620},{"@type":"BreadcrumbList","@id":"https:\/\/www.fastcomet.com\/blog\/hsts-improve-your-ssl-rating#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fastcomet.com\/blog"},{"@type":"ListItem","position":2,"name":"HSTS: Achieve SSL Labs A+ Grade with FastComet"}]},{"@type":"WebSite","@id":"https:\/\/www.fastcomet.com\/blog\/#website","url":"https:\/\/www.fastcomet.com\/blog\/","name":"FastComet Blog","description":"FastComet Web Hosting Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fastcomet.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.fastcomet.com\/blog\/#\/schema\/person\/9ef9240ced73eac50f0efa4cfeec79fb","name":"Elena","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fastcomet.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b8cfccf4061aab9b008ad0468984108f59623016631a3aed76c6e837ce2fc05?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b8cfccf4061aab9b008ad0468984108f59623016631a3aed76c6e837ce2fc05?s=96&d=mm&r=g","caption":"Elena"},"description":"Elena oversees all Marketing, Product Management and Community efforts for FastComet and is in charge of telling the brand's story. Always pitching, she\u2019ll share the FastComet vision with anyone who\u2019ll listen. Elena helps our customers make the most of their web sites' and focuses on our inbound marketing efforts; everything from developing new online growth strategies, content creation, technical SEO, and outreach within the FastComet community. Her background includes Sales and Customer Relationship development, as well as Online Marketing.","sameAs":["https:\/\/www.fastcomet.com","https:\/\/x.com\/ElenaTileva"],"url":"https:\/\/www.fastcomet.com\/blog\/author\/elenatileva"}]}},"_links":{"self":[{"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/posts\/1912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/comments?post=1912"}],"version-history":[{"count":32,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/posts\/1912\/revisions"}],"predecessor-version":[{"id":7868,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/posts\/1912\/revisions\/7868"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/media\/1909"}],"wp:attachment":[{"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/media?parent=1912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/categories?post=1912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fastcomet.com\/blog\/wp-json\/wp\/v2\/tags?post=1912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}