Get Application Gateway SSL Certificate  

 

Returns the public data for the specified X.509 certificate associated with an Application Gateway.

HTTP REQUEST

Method

Request URI

GET

https://management.core.windows.net/<subscription-id>/services/networking/applicationGateways/<applicationGatewayName>/sslcertificates/<certificateName>

Note

certificateName is the user-defined name of the certificate which uniquely identifies the certificate within the gateway.

URI PARAMETERS

URI Parameter

Description

api-version=<api-version>

Version of the API, set to 2015-04-01

REQUEST HEADERS

The following table describes the request headers.

URI Parameter

Description

x-ms-version

Version of the API, set to 2015-04-01

REQUEST BODY

None.

STATUS CODE

If successful, the operation returns HTTP status code of 200(OK).

RESPONSE BODY

<?xml version="1.0" encoding="UTF-8" ?>
<ApplicationGatewayCertificate xmlns=”https://schemas.microsoft.com/windowsazure”>
      <Name>mySslCert</Name>
      <Data>Base64-encoded-X509-representation</Data>
      <State>Provisioned</State>
</ApplicationGatewayCertificate>

Element name

Description

Name

User defined name of the certificate

Data

The public portion of the X.509 service certificate as a base-64 encoded form of the .cer file

State

Read Only. Provisioning | Provisioned