Skip to content

Welasco/AzureRMAppGWCert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

AzureRMAppGWCert

Powershell Module to list all certificates from an Azure Application Gateway

How to Install

This Module is Published at https://www.powershellgallery.com/packages/AzureRMAppGWCert

In order to install just open the powershell as Administrator and type:

Install-Module AzAppGWCert

Import-Module AzAppGWCert

How to use this Module

This Module list all certificates associated with an Azure Application Gateway.

After you have deployed an Azure Application Gateway is not possible, at this moment, to list the certificate properties associated with a Listener, Rule or Http Setting.

This Module will list all certificates associated with Application Gateway and generate an output like this:

    PS C:\> Get-AzAppGWCert -RG OfficeClient -AppGWName AppGateway

    AppGWName    : AppGateway
    ListnerName  : appGatewayHttpListener
    Subject      : CN=*.hepoca.com, O=Hepoca Armarios e Servicos Ltda - EPP, L=Taguatinga, S=Distrito Federal, C=BR
    Issuer       : CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US
    SerialNumber : 0E99D5E2EBBE329CFE2DDE29C1D7D343
    Thumbprint   : 5FD6F2A7BC4BD095198AE55D1A0A76D46365C6B9
    NotBefore    : 3/13/2017 7:00:00 PM
    NotAfter     : 5/2/2018 7:00:00 AM

    AppGWName    : AppGateway
    ListnerName  : HTTPs8080
    Subject      : CN=*.hepoca.com, O=Hepoca Armarios e Servicos Ltda - EPP, L=Taguatinga, S=Distrito Federal, C=BR
    Issuer       : CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US
    SerialNumber : 0E99D5E2EBBE329CFE2DDE29C1D7D343
    Thumbprint   : 5FD6F2A7BC4BD095198AE55D1A0A76D46365C6B9
    NotBefore    : 3/13/2017 7:00:00 PM
    NotAfter     : 5/2/2018 7:00:00 AM

    AppGWName       : AppGateway
    HTTPSetting     : appGatewayBackendHttpSettings
    RuleName        : rule1
    BackendCertName : webjson-pub
    Subject         : E=a@a.com, CN=webjson.arr.local, OU=Arr, O=ARR, L=Irving, S=TX, C=US
    Issuer          : E=a@a.com, CN=webjson.arr.local, OU=Arr, O=ARR, L=Irving, S=TX, C=US
    SerialNumber    : 00B1722AB4D0FB8CAA
    Thumbprint      : 573C70769A40CF4D01769926A212009598462436
    NotBefore       : 11/28/2017 12:45:23 PM
    NotAfter        : 11/28/2018 12:45:23 PM

Examples:

Listing all Application Gateway Certificates

  Get-AzAppGWCert

This Example will get all Azure Application Gateways and list all certificates associated with all of them:

  Get-AzAppGWCert

Listing Application Gateway Certificates in a Resource Group:

  Get-AzAppGWCert -RG <Resource Group Name>

This Example will list all certificates associated with a specific Application Gateway:

  Get-AzAppGWCert -RG <Resource Group Name> -AppGWName <Application Gateway Name>

Listing all Application Gateway Certificates and exports all of them to certificate .cer format.

  Get-AzAppGWCert -Export

Listing all Application Gateway Certificates and show all details (all certificate attributes).

  Get-AzAppGWCert -Details  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published