To use the Azure storage client encryption with a certificate or other encryption/decryption using a certificate one need access to the private key of the certificate.
We use Azure websites/web app (NOT webroles) and want be able to upload a certificate to the certificate store on Azure and access the private key of the certificate.
I'm able to get the certificate from the certificate store, but when I try to access the private key I get key is not exportable.
It possible to upload the file with the code and load the certificate from file, but it would be more convenient and safe to use the certificate store.
Is there a way to do this ? I have followed this guide: https://azure.microsoft.com/nb-no/blog/using-certificates-in-azure-websites-applications/ but that only give me access to the certificate not the private key.