How to asign SSL certificates from keyvault to azure VM

Adnan Erdogan 1 Reputation point
2022-10-17T09:00:22.193+00:00

Hello

Actually since 2 weeks I have been trying to assign my SSL certificate purchased from domain.com to my azure VM but I can't.

I have already keyvault and installed my ssl certificate in. I have also domain which is running in azure vm with IIS .

I have folowed below link but at the end i got below error
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-secure-web-server#code-try-5

error : {"error":{"code":"Unauthorized","message":"AKV10000: Request is missing a Bearer or PoP token."}}

I never thought that the SSL assignmend would be super diffucult.

does someone may help me ?

thanks in advance !

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,452 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 42,511 Reputation points
    2022-10-17T10:17:15.97+00:00

    Hi Adnan,

    It seems some permission issue on the Azure Keyvault, can you check the permissions and also this article the steps for assigning the permissions for an API but similar process how-to-access-azure-key-vault-secrets-through-rest-api-using-postman

    ----
    Please don't forget to upvote and Accept as answer if the reply is helpful

    If this answer helped you please mark it as "Verified" so other users can reference it.

    0 comments No comments

  2. Adnan Erdogan 1 Reputation point
    2022-10-17T13:43:23.27+00:00

    Hi Jimmy
    Thanks for the info . I have tried it but not working for me :(
    Just trying to change VM IIS setting but i am not sure that it will work

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.