Need HTTPS certificate for Windows VM with xampp PHP server

leketch 21 Reputation points
2021-05-31T17:41:20.067+00:00

I am new in Windows Azure. My VM is running with Windows and my PHP Server is Xampp. Now, my Web app is running fine on HTTP and I would like to use an HTTPS certificate. Is there a way to get it on Azure ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2021-06-01T15:54:47.207+00:00

    @leketch , Thanks for posting this question!

    Firstly, hosting a website on an Azure Virtual Machine (IAAS) is typically the same as you would deploy on-prem.
    You would typically install, design and configure (/secure custom domain) the website in the same fashion.
    [Deploy a VM, Provision the Website, Open appropriate ports in NSG, Add and secure a custom domain, Access the site securely]

    You could purchase an App Service certificate-

    • A private certificate that's managed by Azure. It combines the simplicity of automated certificate management and the flexibility of renewal and export options.

    App Service Certificate can be used on an Azure VM.

    Kindly take a look at the steps outlined in this doc - Configure App Service Certificate to Azure Virtual machines
    (it describes steps for IIS web server, similar steps hold good, other web server as well).

    Also, please check these docs for the process:

    Tutorial: Secure a web server on a Windows virtual machine in Azure with TLS/SSL certificates stored in Key Vault

    Tutorial: Use TLS/SSL certificates to secure a web server

    Additionally:
    See create a PHP web app in Azure App Service -other website hosting option on Azure.

    If you any further questions on this topic, please let us know.


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.