Share via


Get information about a certificate

 

The Get information about a certificate operation gets information about a specified certificate.

Request

To specify the request, replace <subscription-id> with your subscription ID, <cloud-service-name> with the name of the cloud service to use for making the request, <automation-account-name> with the name of the automation account to use for making the request, and <certificate-name> with the name of the certificate to get information about. Include required URI parameters.

Method

Request URI

GET

https://management.core.windows.net/<subscription-id>/cloudServices/<cloud-service-name>/resources/automation/~/automationAccounts/<automation-account-name>/certificates/<certificate-name>?api-version=2014-12-08

URI Parameters

Parameter

Description

api-version

Required. Must be set to 2014-12-08.

Request Headers

The request headers in the following table are required.

Request Header

Description

x-ms-version

Specifies the version of the operation. Set to 2013-06-01 or a later version.

Request Body

None

Response

Status Code

A successful operation returns 200 (OK). For information about common error codes, see HTTP/1.1 Status Code Definitions.

Response Headers

Request Header

Description

x-ms-request-id

A unique identifier for the current operation. Use this value to determine the current status of an asynchronous operation.

Response Body

{
   "name":"SSLCert-Litware.com",
   "properties":{
      "description":"Certificate for Litware.com",
      "isExportable":false,
      "thumbprint":"99E7C5699E4C54AC8A8F7191800599DE94BBCE94",
      "expiryTime":"2016-12-30T20:24:57+00:00",
      "creationTime":"2015-03-26T03:47:11.713+00:00",
      "lastModifiedTime":"2015-03-26T03:47:11.713+00:00"
   }
}

Element

Description

name

Friendly name for the certificate.

description

Description of the certificate or additional information.

isExportable

true if the certificate can be exported; otherwise false.

thumbprint

The thumbprint of the certificate.

expriryTime

The date and time the certificate expires.

creationTime

The date and time the certificate was created.

lastmodificationTime

The date and time the certificate was last changed.

See Also

Automation Certificates
Operations on Automation