KB4346812 - FIX: Error occurs when you open a symmetric key that is encrypted by an asymmetric key in SQL Server 2017

Work anywhere from any device with Microsoft 365

Upgrade to Microsoft 365 to work anywhere with the latest features and updates.

Upgrade now

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:

       Cumulative Update 10 for SQL Server 2017

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:

Latest cumulative update for SQL Server 2017

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.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×