Add/Update Application Gateway SSL Certificate
Adds a new certificate or updates an existing certificate in Application Gateway.
Method | Request URI |
|---|---|
PUT | https://management.core.windows.net/<subscription-id>/services/networking/applicationGateways/<applicationGatewayName>/sslCertificates/<certificateName> |
Note |
|---|
certificateName is user-defined name of the certificate which uniquely identifies the certificate within the gateway. |
URI Parameter | Description |
|---|---|
api-version=<api-version> | Version of the API, set to 2015-04-01 |
The following table describes the request headers.
URI Parameter | Description |
|---|---|
x-ms-version | Version of the API, set to 2015-04-01 |
<?xml version="1.0" encoding="utf-8"?> <CertificateFile xmlns=”http://schemas.microsoft.com/windowsazure”> <Data>base64-encoded-file</Data> <Password>pfx-file-password</Password> </CertificateFile>
URI Parameter | Description |
|---|---|
Data | Specifies the base-64 encoded form of the .pfx file. |
Password | Specifies the password for a .pfx certificate. |
If successful, the operation returns HTTP status code of 202(Accepted).
<?xml version="1.0" encoding="UTF-8"?> <GatewayOperationAsyncResponse xmlns="http://schemas.microsoft.com/windowsazure"> <ID>operation-id</ID> </GatewayOperationAsyncResponse>
URI Parameter | Description |
|---|---|
operation-id | Uniquely identifies the operation. To get more information about the status of an operation, such as whether it is still executing or complete, you can call Get Virtual Network Gateway Operation Status with the operation ID. |
