tftviking
❔ Load Certificate from Azure Key Vault as memorystream
I have a code that works perfect when testing it local and set my certificates as paths.
When uploading it on Azure it do not work to use the path. My guess is that I have to upload the certificates on Key Vault and call the certificates from there.
I'm using .NET Core Web App
In the Nugget from Swish you can enter the certificate as direct path or as a stream.
Do anyone have a solution how to fix this?
Have a look at this files :
https://github.com/RickardPettersson/swish-api-csharp/blob/master/SwishApi/Models/ClientCertificate.cs
https://github.com/RickardPettersson/swish-api-csharp/blob/master/SwishApi/PayoutClient.cs
https://github.com/RickardPettersson/swish-api-csharp/issues/23
65 replies
Can't get Certificates when uploaded to Azure, works local.
I have built a web app that functions perfectly in my local environment. However, when I deploy it to Azure as a web app, I encounter issues with certificates, they cant be find in the Cert DIR.
Its using : https://github.com/RickardPettersson/swish-api-csharp
https://pastebin.com/Vbb9g4Nj
Your insights and suggestions on how to resolve this issue would be greatly appreciated. Thank you!
22 replies