I've a certificate (pfx) in my Azure KeyVault - I use that certificate as a secret (deployed via Azure DevOps using Helm). The problem I've encountered is that the certificate is somehow incorrectly read from KeyVault (I use Variable Group) - the result is that when my application starts, I get an exception that looks like:
error:23076071:PKCS12 routines:PKCS12_parse:mac verify failure
However, when I manually create a secret (by using powershell to read certificate content as base64) everything works correctly. What am I doing incorrectly ?