Symptoms
Consider the following scenario:
-
You have a symmetric key that is encrypted by an asymmetric key in SQL Server 2017 on Windows.
-
The asymmetric key is created by using an Extensible Key Management (EKM) provider.
-
You try to open the encrypted symmetric key by using the following statement:
OPEN SYMMETRIC KEY KeyName DECRYPTION BY ASYMMETRIC KEY KeyName;
In this scenario, you receive an error message that resembles the following:
Msg 15466, Level 16, State 28, Line LineNumber
An error occurred during decryption.
Resolution
This issue is fixed in the following cumulative update for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminologythat Microsoft uses to describe software updates.