Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



SslCerts

The SslCerts resource represents an SSL certificate created for a Google Cloud SQL instance. To use the SSL certificate you must have the SSL Client Certificate and the associated SSL Client Key. The Client Key can be downloaded only when the SSL certificate is created with the insert method.

For a list of methods for this resource, see the end of this page.

Resource representations

SslCerts Resource

{
  "kind": "sql#sslCert",
  "instance": string,
  "sha1Fingerprint": string,
  "commonName": string,
  "certSerialNumber": string,
  "cert": string,
  "createTime": datetime,
  "expirationTime": datetime
}
Property name Value Description Notes
cert string PEM representation.
certSerialNumber string Serial number, as extracted from the certificate.
commonName string User supplied name. Constrained to [a-zA-Z.-_ ]+.
createTime datetime Time when the certificate was created.
expirationTime datetime Time when the certificate expires.
instance string Name of the database instance.
kind string This is always sql#sslCert .
sha1Fingerprint string Sha1 Fingerprint.

Methods

Available methods for SslCerts resources are:

delete
Deletes an SSL certificate from a Cloud SQL instance.
get
Retrieves an SSL certificate as specified by its SHA-1 fingerprint.
insert
Creates an SSL certificate and returns the certificate, the associated private key, and the server certificate authority.
list
Lists all of the current SSL certificates defined for a Cloud SQL instance.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.