Method: sslCertificates.get

Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Project ID for this request.



Name of the SslCertificate resource to return.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Represents an SSL Certificate resource.

Google Compute Engine has two SSL Certificate resources:

The sslCertificates are used by:

  • external HTTPS load balancers
  • SSL proxy load balancers

The regionSslCertificates are used by internal HTTPS load balancers.

Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.

JSON representation
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "selfLink": string,
  "certificate": string,
  "privateKey": string,
  "managed": {
    "domains": [
    "status": enum,
    "domainStatus": {
      string: enum,
  "selfManaged": {
    "certificate": string,
    "privateKey": string