How to use let's encrypt certificate with Azure Virtual Machine

Currently my client site have free cloud-flare SSL certificate.
But client want to use custom Let’s Encrypt certificate. Because SSL not working with multiple sub-domain.
Site is hosted on Azure hosting and they created Virtual Machine on Azure.

Can any one provide steps for SSL set-up on Azure VM?

Hi @hardik

start with the basics:

Then select a client and start:

1 Like

But we want to implement on Azure Virtual Machine not in App Service.

This isn’t relevant.

If you have root access, it’s always the same. Select a client and start.

1 Like

Checked that domain ( ):

There is already a Letsencrypt certificate:

CRT-Id Issuer not before not after Domain names LE-Duplicate next LE
1372323978 CN=CloudFlare Inc ECC CA-2, O=“CloudFlare, Inc.”, L=San Francisco, C=US, ST=CA 2019-04-07 22:00:00 2020-04-08 10:00:00 *, CloudFlare, Inc.,,
1365041326 CN=Let’s Encrypt Authority X3, O=Let’s Encrypt, C=US 2019-04-05 10:50:08 2019-07-04 10:50:08,

created 2019-04-05. So you have all you need.

The missing thing is the local installation.

1 Like

Yes, Letsencrypt certificate is there but I am unable to install in Azure. Can you help me?

Thank You!

There is already a certificate installed. Do that again.

PS: I don’t see your server, I see only Cloudflare.

So I don’t see if it is nginx, Apache or something else.

There is a standard template from #help

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.