Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.

Get Service Certificate


Updated: July 10, 2015

The Get Service Certificate operation returns the public data for the specified X.509 certificate associated with a cloud service.

The Get Service Certificate request may be specified as follows. Replace <subscription-id> with the subscription ID, <service-name> with the DNS prefix name of the cloud service, <thumbprint-algorithm> with the algorithm for the thumbprint, and <thumbprint> with the thumbprint.


Request URI



The following table describes the request headers.

Request Header



Required. Specifies the version of the operation to use for this request. This header should be set to 2009-10-01 or higher.

The response includes an HTTP status code, a set of response headers, and a response body.

A successful operation returns status code 200 (OK).

The response for this operation includes the following headers. The response may also include additional standard HTTP headers.

Response Header



A value that uniquely identifies a request made against the management service.

The format of the response body is as follows:

<?xml version="1.0" encoding="utf-8"?>
<Certificate xmlns=”http://schemas.microsoft.com/windowsazure”>

The following table describes the elements of the response body.

Element name



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

The Get Service Certificate operation returns the base-64 encoded binary X.509 certificate data in .cer file format for the specified certificate associated with a cloud service. This certificate can be used to support secure access to a web role or worker role.