Backwards compatibility is a hell of a drug

How to recover the private key of a (.pfx) certificate?

Recently, I ran into a problem that I definitely caused myself. I had a certificate, that was created to authenticate an app against Azure AD. The encryption key for the .pfx file was, however, lost. I could just create a new certificate, configure the app service to use that and replace the old certificate… But that’s manual labor and where’s the fun in that? I preferred a solution that included a bit more coding! After a bit of googling, I found a nice, programmatic solution…Continue reading How to recover the private key of a (.pfx) certificate?