Search code examples
azureazure-logic-apps

Azure Integration Account, use public and private certificate in agreement


I am currently setting up an Integration account on Azure. When defining an agreement I want the messages both signed and encrypted, but I can not supply the private certificate as I keep getting this message

There were no private certificates found. Please create a certificate with both private key and public certificate

I have added the private and public certificates as described in this Microsoft guide, and the picture below

Adding certificates to integration account

But I can not use them when defining the agreement afterwards as shown in the picture below

enter image description here


Solution

  • It seems your certificate doesn't meet the requirements. I test it by creating the certificate in azure key vault it works fine.

    I go to my azure key vault and click "Certificates" --> "Generate/Import". enter image description here

    Then create the certificate. enter image description here

    Wait a few minutes, the status of the certificate will become "Enabled", then download it to local. enter image description here

    After that, go to your integration account and upload the certificate to it. enter image description here

    Now, we can find it when we want to add agreements. enter image description here

    In this way I generate the certiticate, I can choose it when add the agreements. Hope it helps~