SHA–1 Sunsetting, Google, and Your Next Steps.
What is happening, and what was happening?
The SSL Industry and the CA/B Forum have planned for the "sunsetting" (depreciation) of the SHA–1 signing algorithm for quite some time. However, their plan was mainly formed around Microsoft's desires to phase it out in 2017, alongside the end-of-life for Windows XP. This was widely understood to be the approved plan for CAs to follow, and the preparation for moving from SHA–1 to its successor, SHA-2, wouldn't be necessary for many months from now.
However, Google recently made an announcement, in stark contrast to Microsoft's plan, that they are implementing their own SHA–1 sunsetting timeline, which will begin on September 26th 2014.
This timeline has three distinct stages, which will result in degraded visual indicators in Google Chrome (padlock, green-bar) for SHA–1 signed certificates meeting specific criteria (this is discussed in the section "What certificates are affected?" below).
This means it is now necessary to educate and assist our partners and customers on how to make the transition away from SHA–1.
First, let's understand what SHA-1 does. Both SHA-1 and its successor, SHA-2, are specific types of signing algorithms. Signing algorithms are used as part of the identity validation role that SSL certificates perform. They are mathematical functions (referred to as a "hash") which, when performed, should calculate a persistent and unique value for each file. So, for instance, the Word doc this text is stored in has a unique SHA-1 hash value. If I change a single part of this file – add an extra period somewhere, change a letter, etc. – it will produce a different SHA-1 hash value.
When a certificate is downloaded from a server to the client's browser, a hash is taken of it. The type of hash taken (SHA-1, SHA-2, MD5, etc.) depends on how the certificate is signed. The hash calculated by the browser is compared to the hash value provided by the server, which has been verified by the Certificate Authority (CA) at the time of issuance. If they match, the identity of the certificate and server are verified.
+ Read More
When is this happening?
Google's policy involves three distinct steps, the first beginning on September 26th. On this date, only customers with SHA-1 signed certificates expiring in 2017 are affected. However, the amount of affected certificates will expand in November, and again in Q1 2015. The full details on what certificates are affected is in the below section, "The Nitty Gritty."
What certificates are affected?
Certificates are affected if they meet the any of the following criteria:
- All certificates from the RapidSSL or QuickSSL family issued before September 15th, 2014 and expiring after January 31st, 2016 (They are signed by a SHA-1 Intermediate).
- If they are signed with SHA-1 and expire after January 1st, 2016.
- They have an Intermediate Certificate Chain that are SHA-1 signed certificates.
To understand the exact certificates affected, please see the below section which gives explicit detail.
The Nitty Gritty1
On September 26th, 2014:
SHA-1 signed certificates expiring on or after January 1st, 2017 will be treated as "secure, but with minor errors" and will receive the yellow triangle padlock.
On November 7th, 2014:
SHA-1 signed certificates expiring on or after June 1st, 2016 to December 31st, 2016 are treated as above. Certificates expiring after January 1st, 2017 are treated as "neutral, lacking security." These certificates will receive a blank page icon, as seen with HTTP sessions.
1 The majority of this section comes from Google's official announcement:
In Q1 2015:
SHA-1 signed certificates expiring on or after January 1st, 2016 to December 31st, 2016 will continue to be treated as "secure, but with minor errors."
SHA-1 signed certificates that expire on or after January 1st, 2017 are treated as "affirmatively insecure." This will be identified by the red "X".
How is the problem solved?
Affected certificates can be fixed by reissuing. (There are no situations where anything other than a reissue is needed.) Our vendors have sped up their implementation of SHA-2 compatible infrastructure due to Google's new policy.
Symantec has officially confirmed that their full product line will have a fully SHA-2 compatible chain "on September 15, 2014." 2 Comodo's full product line is already ready for the SHA-2 transition and by default are now being issued as SHA-2. Certum has announced they will make SHA-2 Certificates available "this year", specifically they are targeting October. This deployment date for Certum may be delayed, so we know they will not be ready for Phase 1 of Google's rollout, but perhaps by Phase 2. We will certainly keep our customers and partners informed as soon as we know more.
What does ComodoSSLstore need to do?
If your certificate is SHA-1, you need to perform the following:
a) A reissue of your certificate to SHA-2
In addition to the step above, you probably also need to:
b) Install newly available SHA-2 Intermediate Certificates.
Please see below to determine what is necessary for your situation.
It will be necessary for you to perform a) if you have a SHA-1 certificate (as determined by your selection during the enrollment process). This can affect certificates from any of our providers, and is more likely to affect older certificates.
If your certificate was SHA-1, most likely it was also signed by a SHA-1 Intermediate. When you reissue the certificate it will be signed by the SHA-2 Intermediate, which must also be installed to your server. These will either be provided or linked to you when you receive your new certificate.
2 Symantec's full statement: "Google has announced that it plans to phase out SHA-1 support via degraded visual indicators. The plan is for that to happen in the upcoming Chrome 39 release on September 26, 2014. Google's plan is still subject to change. To help partners respond to this change, Symantec has accelerated its plan to offer SHA-2 end-entity certs chaining to SHA-2 intermediates. We expect these to be available for testing (by API-integrated partners) in our pre-production environment on September 12, 2014, and generally available on September 15, 2014."
Q & A
What products have compatibility issues with this switch?
Symantec, GeoTrust, Thawte, and RapidSSL:
These CAs will make a SHA-2 Intermediate Certificates available for their products on September 15th. At this time, their full catalog will have fully compatible subscriber certificates and certificate chains. Customers using the old Intermediate certificates will need to reissue so their certificates can be signed by the new Intermediates.
These CAs will make a SHA-2 Intermediate Certificates available for their products on September 15th. At this time, their full catalog will have fully compatible subscriber certificates and certificate chains. Customers using the old Intermediate certificates will need to reissue so their certificates can be signed by the new Intermediates.3
What platforms have compatibility issues with this switch?
The biggest issue will be Windows XP and Windows Server 2003. As documented by RapidSSL4, if the user is running these platforms with the correct patches, they will have compatibility with SHA-2. For Windows XP they will need to install Service Pack 3 (this will solve most issues). For Windows Server 2003 and for edge cases in Windows XP please see RapidSSL's documentation.3
However the SHA-2 digital signature is purely for identity validation. So, this is only for establishing the "visual trust indicators". Note that even without properly patched Windows platforms, the HTTPS session can still be initiated so that user information is still protected.
There will also be issues with other specific hardware, such as enterprise or legacy servers/networking hardware, game consoles, older/niche mobile phones, etc.
The following matrix notes when major platforms began supporting SHA-25
Minimum OS Version
XP if patched with SP3 (see above)
2003 if patched (see above)
iOS and Android should be seen as a non-issue for SHA-2 compatibility. Less than 1% of Android devices are below version 2.36, and less than 0.5% of iOS devices are on version 3 or lower.7
What browsers have compatibility issues with this switch?
- Internet ExplorerWindows XPWindows VistaWindows 7
Version 7, and higher
Version 7-8Versions 8-9
- Version 6
Only with SP3
3 The [Alexa Top 50] have some China websites that I am sure 100% is SHA1 since there are still 2.75M Windows XP with SP2 users and 400K Windows 2003 with SP2 users in China. I really don't know how to deal it, currently, we issue SHA1 certs only. The big market share in China is Symantec, I would like to hear the idea from Symantec about this. Richard from WoSign (Chinese CA), on 9/8/14.
What if I had a SHA-2 subscriber certificate issued before the SHA-2 roots were available (The certificate is signed with a SHA-1 Intermediate and has a "mixed-chain"?
You need to reissue your certificate and you need to update the intermediates to the new SHA-2 versions.
5 Specifically, the hash function SHA-256
What if the customer has a SHA-1 subscriber certificate?
They need to reissue their certificate and choose "SHA-2" or "SHA-256' during enrollment. They also need to make sure they download and install the new SHA-2 intermediates. Please note that the certificate's signing algorithm is determined solely during the generation process; it is not related to the CSR.
Does the customer need to generate a new "SHA-2" CSR?
No. The signing algorithm is decided solely by what is selected in the enrollment process. It is possible on certain platforms to create a CSR that requests a signing algorithm. However with our enrollment method this is entirely ignored. Only what the customer selects during enrollment is considered.
Obviously, if the customer does not have their old CSR, they will need to generate a new one, but they can use the same method they used previously with no need to specify anything with SHA-2
Should I use something more secure than SHA-2?
No. At this time, there is no evidence that SHA-2 faces the same issues as SHA-1. This does not mean it won't in the future. To think about this topic more broadly, all signing algorithms are mathematical functions. They have a specific purpose and theoretical capabilities. However, in reality, they may not always function as designed. In the case of SHA-1, it's been proven by many researchers to be flawed. SHA-2 has not yet shown the same flaws.
SHA-2 is also significantly more complex than SHA-1 so it is also much more secure from brute-force attacks. There is a SHA-3 algorithm however it is not finalized nor practical to use in a live environment.