List imported SSL public key certificates in Azure CLI

Mauricio González 21 Reputation points
2022-08-22T15:06:20.55+00:00

Hello,

I created web app and postgree app with ssl enabled connection, i installed the certificate generated for my database, and imported to webapp under the configuration:
233546-image.png

Is posible list these certificates in Azure CLI? I tried az webapp config ssl list --resource-group but showns empty results, i supossed that is, because its not autogenerated certificate .

Regards.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,829 questions
0 comments No comments
{count} votes

Accepted answer
  1. VenkateshDodda-MSFT 18,021 Reputation points Microsoft Employee
    2022-08-23T06:35:59.34+00:00

    @Mauricio González Thank you for reaching out to Microsoft Q&A. Apologize for the inconvenience caused on this.

    Based on the shared scenario, I have understood that you are trying to pull the public certificate present on the web app. you can use the Azure Management REST API WebApp-List Public Certificates to pull the list of public certificates on the web app.

    233875-image.png

    While testing the above cmdlet in my local environment i see that az webapp config ssl list is giving me the list of private certificates only as shown below.

    233981-image.png

    Feel free to reach back to me if you have any further questions on this.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful