[{"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

Configure Certificate Authority

Description

Configure existing certificate authority

Request

Request

URL

URL


patch
https://sfo-vcf01.rainpole.io/v1/certificate-authorities
Copy

Request Body

Request Body

CertificateAuthorityCreationSpec of type(s) application/json Required

certificateAuthoritySpec

{
	"microsoftCertificateAuthoritySpec": {
		"secret": "********",
		"serverUrl": "https://sfo-ad.rainpole.io/certsrv",
		"templateName": "WebServer",
		"username": "Administrator"
	},
	"openSSLCertificateAuthoritySpec": {
		"commonName": "OpenSSL CA",
		"country": "IN",
		"locality": "Bengaluru",
		"organization": "VMware Inc.",
		"organizationUnit": "VCF",
		"state": "Karnataka"
	}
}
microsoftCertificateAuthoritySpec Optional

Microsoft Certificate Authority specification


openSSLCertificateAuthoritySpec Optional

OpenSSL Certificate Authority specification

Response

Response

Response Body

Response Body

200 OK

Returns object of type(s) */*
Errors

Errors

Error
400

Bad request


Error
404

Not Found


Error
500

Internal server error

Code Samples

Code Samples

cURL Command

curl -X PATCH -H "Content-Type: application/json" -d '{"microsoftCertificateAuthoritySpec":{"secret":"********","serverUrl":"https://sfo-ad.rainpole.io/certsrv","templateName":"WebServer","username":"Administrator"},"openSSLCertificateAuthoritySpec":{"commonName":"OpenSSL CA","country":"IN","locality":"Bengaluru","organization":"VMware Inc.","organizationUnit":"VCF","state":"Karnataka"}}' https://sfo-vcf01.rainpole.io/v1/certificate-authorities


[{"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
Feedback

Was this page helpful?