how do i configure wcf message security in cloud service extended support

Raghunath Menon 1 Reputation point
2024-01-03T02:41:15.17+00:00

I have a WCF cloud service deployed in Azure for a long time. Now we are required to migrate to cloud service extended support by Aug 2024. Our application uses WCF message based security with private/public key certificates. I currently have the .CER files from each of my clients loaded into the certificate store and references them by their thumbprint in the service configuration files. Its my understanding that I need to use Azure key vault going forward. I am not able to upload any of the .PEM or .CER files with the public keys to Azure. How do I configure WCF message security for Cloud services extended support?

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
665 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 22,941 Reputation points
    2024-01-08T10:36:59.8333333+00:00

    Hello @Raghunath Menon

    Thank you for reaching out to the Microsoft Q&A platform.

    You need to use Azure Key Vault to store certificates for Cloud Services (extended support). You can follow the steps mentioned in the document "Technical details of migrating to Azure Cloud Services (extended support)" to migrate your certificates to Azure Key Vault.

    Once you have migrated your certificates to Azure Key Vault, you can reference them in your service configuration files using the Key Vault reference. You can use the following steps to configure WCF message security for Cloud Services (extended support). Here are high level steps

    • Create a new certificate in Azure Key Vault or import your existing certificate to Azure Key Vault.
    • Update your service configuration file to use the certificate from Azure Key Vault.
    • Update your service code to use the certificate from Azure Key Vault,

    If I have answered your query, please click "Accept as answer" as a token of appreciation