Installing SSL on Azure VM that has a webapp running on microk8s

prettycold 1 Reputation point

I have an Azure VM (Ubuntu) where I deployed my application (uses python flask and angular) in a microk8s. All this while it had the default domain name. Recently I purchased a domain in godaddy, and changed the DNS to point to the new domain. Now I need to add https to the domain, so I purchased SSL certificate in godaddy. Since mine is not Azure App Services, I'm not sure how to install the certificate on the VM against this domain. All links that I came across was for Azure App services. Any help would be appreciated.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,238 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 27,091 Reputation points Microsoft Employee

    I understand you have an Azure VM running your web application and a third party SSL cert. You want to enable HTTPS on your VM but are not sure the process in Azure. Please correct me if I am misunderstanding the issue.

    Once you have port 443 open for your NSG all the configuration for the SSL needs to be done in your web application. There is no specific Azure configuration needed for this. I am sharing a few resources below which might be helpful for your setup.

    Hope this helps! Let me know if you run into further issues or need assistance.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.