Unable to update or delete Listener TLS certificates (App gateway)

Cosmina Alexandra Jelea (RO) 145 Reputation points
2023-10-04T06:48:00.5866667+00:00

Hello,

We're experiencing an issue within the Application Gateway when attempting to modify or remove the listener TLS certificates (error details attached). These certificates have been deleted and also purged from Key Vault and are no longer available to us, so re-uploading isn't an option. This error is blocking us to proceed with further tests.

Is there a method to delete those certificates from the App Gateway?

Any guidance would be appreciated!

Thank you and have a nice day!

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
970 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 36,556 Reputation points Microsoft Employee
    2023-10-06T09:30:25.6566667+00:00

    @Cosmina Alexandra Jelea (RO)

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that Application gateway has reference to deleted certificates from KeyVault and this in turn preventing you to perform any CRUD operations on the App Gateway.

    I suggested,

    • Open Azure Preview Portal : https://preview.portal.azure.com/#home
    • Go to the App Gateway and open Listeners
    • You should see a "Listener TLS certificates (Preview)" tab
    • User's image
    • From here, select the certificate that is causing the issue
      • In your case, it should be "certificate-preprod-202309261522pfx"
    • You will see that certain certificates will have "Associated Listeners" as 0
    • Use the ellipsis and click "Delete" to delete the reference in all such entries with 0 Associated Listeners one by one.
      • User's image

    You informed us that there were some issues with Portal but however, you were able to do the same with Powershell.

    Remove-AzApplicationGatewaySslCertificate

    Thanks,

    Kapil


    Please Accept an answer as this helps the community find answers faster by identifying the correct answer.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful