Could not load the certificate private key. Please check the authentication certificate password is correct and try again

Priya Sinha 21 Reputation points Microsoft Employee
2021-07-09T22:52:55.503+00:00

Hi Team,

I have a .pfx file and using this I can access an API through Postman. I am trying to implement the same using logic app but its giving me error :

Could not load the certificate private key. Please check the authentication certificate password is correct and try again

I tried some ways to work this out but none of this worked.
I tried to put Base64 of pfx file and the password of the pfx
Another thing that i tried it extracting the private key from pfx and in password field passing the key
I tried to save the base64 in text vault and accessing it through logic app
Also I tried below steps from MS docs :
https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-securing-a-logic-app?tabs=azure-portal#client-certificate-authentication

Have you ever encountered this issue and if so, how did you fix so.

Thanks

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,816 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 67,986 Reputation points
    2021-07-12T03:27:23.947+00:00

    Hi @Priya Sinha

    As per the document if you use the cert mmc/PowerShell command, you might get this error that you have observed.
    Please review the Client Certificate authentication section to verify if you are generating the encoded pfx file content as per the document and passing the right password for pfx file. I have tested the same and couldn't observe the same behavior.

    0 comments No comments

0 additional answers

Sort by: Most helpful