i am retrieving the certificate from azure which is added in azurekeyvault trying to add that to my rest api headers getting an error ssl connection cannot established. please help me how to add certificate to rest api headers.

i am retrieving the certificate from azure which is added in azurekeyvault trying to add that to my rest api headers getting an error ssl connection cannot established. please help me how to add certificate to rest api headers.

Thanks for reaching out.
Could you please share detailed inner exception? also if possible try to use PowerShell Invoke-RestMethod or Postman way to add certificate to rest api headers which received from Keyvault this would help us isolate the issue. Thanks.
Example:
PowershellInvoke-RestMethod -Method Get -Uri <API url> -Headers <header_value>Invoke-RestMethod -Method Post -Uri <API url> -Body <header_value>
PostMan:
https://learning.postman.com/docs/sending-requests/requests/#selecting-request-methods
Just checking in to see if the above answer helped. If this answers your query, please don’t forget to click "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.
Thanks,
5 people are following this question.