Changed1
[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail

View Certificate

Description

View detailed metadata about the certificate(s) of all the resources in a domain

Request

Request

URL

URL


get
https://sfo-vcf01.rainpole.io/v1/domains/{id}/resource-certificates
Copy

Path Parameters

Path Parameters

string
id Required

Domain ID or Name


Response

Response

Response Body

Response Body

200 OK

Returns PageOfCertificate of type(s) application/json
{
	"elements": [
		{
			"caChain": "Certificate Object",
			"domain": "3E86FBAD-8984-4D4B-992D-F0C49857572A",
			"expirationStatus": "One among: ACTIVE, ABOUT_TO_EXPIRE, EXPIRED",
			"getCertificateError": "Status : NOT_TRUSTED, Message : Certificate Expired",
			"isInstalled": false,
			"issuedBy": "CN=OpenSSL CA, OU=VCF, O=VMware, L=Bengaluru, ST=Karnataka, C=IN",
			"issuedTo": "sfo-vc01.rainpole.io",
			"keySize": "One among: 2048, 3072, 4096",
			"notAfter": "2021-02-02T00:00:00.000Z",
			"notBefore": "2020-01-01T00:00:00.000Z",
			"numberOfDaysToExpire": 0,
			"pemEncoded": "-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----",
			"publicKey": "D6:FD:DF:33:F1:...",
			"publicKeyAlgorithm": "One among: RSA",
			"serialNumber": "46:85:19:77:36:12:67:26",
			"signatureAlgorithm": "SHA256withRSA",
			"subject": "CN=sfo-vc01.rainpole.io, OU=VCF, O=VMware, L=Bengaluru, ST=Karnataka, C=IN",
			"subjectAlternativeName": [
				"sfo-vc01.rainpole.io"
			],
			"thumbprint": "59:24:D5:18:04:A0:26:B0:A4:05:EA:82:60:95:82:A2:4B:F6:31:FB:81:93:01:F3:29:7D:34:9C:D3:05:39:90",
			"thumbprintAlgorithm": "SHA-256",
			"version": "V3"
		}
	],
	"pageMetadata": {
		"pageNumber": 0,
		"pageSize": 0,
		"totalElements": 0,
		"totalPages": 0
	}
}
array of Certificate
elements Optional

The list of elements included in this page


pageMetadata Optional

Pageable elements pagination metadata information

Errors

Errors

Error
404

Not Found


Error
500

Internal server error

Code Samples

Code Samples

cURL Command

curl https://sfo-vcf01.rainpole.io/v1/domains/{id}/resource-certificates


[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
What's changed in 5.0.0?
INTRODUCED
Feedback

Was this page helpful?