Azure Rest Api Create Managed Ssl certificate through code.

Ticu Ionut 1 Reputation point

I am trying to create through the azure rest api a managed ssl certificate.
I am getting 500 internal error.

This is the endpoint i am using

Question 1. Is this the endpoint used to create a managed ssl certificate?
Question 2. If this is can someone try and share if the end point works?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,662 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 11,826 Reputation points

    Hi @Ticu Ionut

    Yes, that is the right REST API to create Managed SSL certificate. All you need is to put the canonical and host names in the request body.


        "location": "East US",  
        "properties": {  
            "canonicalName": "My Managed Cert Name",  
            "hostNames": [  

    Hope that helps.


    0 comments No comments