question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az network application-gateway ssl-cert -- Is there any option to view the expiry of SSL cert

See original GitHub issue

Is your feature request related to a problem? Please describe. az network application-gateway ssl-cert is used to manage the SSL certificates of an application gateway. However, I am not able to find any option to view the expiry date of the certificate. Getting to know the expiry date is essential at times and would be a helpful feature to have. Is there any way to view the expiry of the SSL certificate of an application gateway.

Describe the solution you’d like Having an option to view the expiry date of an SSL certificate of an application gateway would be very helpful. If there is already a way to do it, adding an example in the cli and docs would be very helpful.

Describe alternatives you’ve considered Tried the following command but did not find any good way to extract the SSL certificate expiry

(Note that argument values have been redacted, as they may contain sensitive information.)

az network application-gateway ssl-cert show -g test-rg --gateway-name test-aag --name test.example.com { "data": null, "etag": "W/\"136379e-3fcca\"", "id": "/subscriptions/zbca-fa02b/resourceGroups/test-rg/providers/Microsoft.Network/applicationGateways/test-aag/sslCertificates/test.example.com", "keyVaultSecretId": null, "name": "test.example.com", "password": null, "provisioningState": "Succeeded", "publicCertData": "QMVPYn209pT/4k2IBDL1AB0z1WJH7Jioqeu72l/XLJpUlTYZ90le68xxM727Cz2GKpXyak1f19+4oK52is7td59BS60sF+O0dUKtaaS8hE26NXeVVY+1pOjyid70irCMeJda5JPrTKjEA", "resourceGroup": "test-rg", "type": "Microsoft.Network/applicationGateways/sslCertificates" }

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
subhasishdccommented, Aug 21, 2020

@MyronFanQiu : Discussed this with Akshay Gupta from the service team. He has confirmed that the command takes a pfx file as input which is pkcs12 and show/list shows only the public part of the cert which pkcs7.

I will create a PR to add a good example to the help section and documentation to demonstrate this behavior so that it is of help for everyone. Will let you know once I do it.

0reactions
subhasishdccommented, Aug 8, 2020

@MyronFanQiu : Did you get any update from the service team on this

Read more comments on GitHub >

github_iconTop Results From Across the Web

az network application-gateway ssl-cert - Microsoft Learn
Manage SSL certificates of an application gateway. ... Try It. az network application-gateway ssl-cert create -g MyResourceGroup --gateway-name MyAppGateway ...
Read more >
How to detect expiring certificates in Azure Application Gateway
Expiring certificates in App Services can be easily detected using only Azure Resource Graph, here's the recipe if you want it.
Read more >
appGatewayHttpListener The default listener associated with
For Az module installation instructions, seeInstall AzurePowerShell.To configure end-to-end SSL with an application gateway, a certificate is required for ...
Read more >
Install an SSL/TLS Certificate in Microsoft Azure App Service ...
1. Before you upload your certificate and private key to your Azure web app, you'll need to combine them into a password-protected PKCS#12...
Read more >
Automating Azure Application Gateway SSL certificate ...
If you can get SSL certificates issued by a well-known CA for free, there is no ... a special rule on the Application...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found