MS AD CS broken - failed to decrypt password: cannot find data encryption key
92
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:01 PM
Objective
CCM, SaaS encrypts any credential that requires a VSat connection to a given endpoint. Some customers don't backup DEK leading to uninstall and remove all their VSatellites from Linux hosts and UI. When a complete new VSatellite is installed a new DEK is generated. any previous connections may be broken since they were encrypted with an old DEK, in this case you will see
Worth mention this will impact any certificate request against customers private MS CA
Environment
VaaS/TLSPC TLSPC
Procedure
- Clone/recreate MS AD CS
- Create a new MS AD CS connection with same data and values, issuing templates and import certificates settings. We can use same VSat worker.
- Is recommended to take the same connection name and suffix with short word indicating is a new connection
- This step will encrypt data connection with new DEK in place
- Update Issuing templates pointing to old-failed MS AD CS
- Go template by template updating and pointing to the new MS AD CS Certificate Authority Connection
- Test certificate request and renewals
- Since there is a nee DEK in place CSR and private key(s) won't have the same encryption. New certificate request won't be impacted
- If customer is about to renew a certificate which was issued with the old MS CA connections they should select either "Renew with a new private key and CSR (recommended)" or "Edit certificate details and renew with a new private key and CSR". This way new DEK will come in place and you will be able to download certificate with private key.
- If tests were good, you can delete old MS CA connection.