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.
The following table describes the request headers.
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.
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”> <Data>Base64-encoded-X509-representation</Data> </Certificate>
The following table describes the elements of the response body.
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.