[{"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/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf
VMware Cloud Foundation API Reference Guide

Trusted Certificates

APIs for managing Trusted Certificates

Table of Contents

1. Add trusted certificate to the SDDC Manager

1.1. Prerequisites

  • VCF environment.

1.2. Steps

  • Invoke the API.

cURL Request

$ curl 'https://sfo-vcf01.rainpole.io/v1/sddc-manager/trusted-certificates' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -d '{
  "certificate" : "-----BEGIN CERTIFICATE-----\n ... \n-----END CERTIFICATE-----",
  "certificateUsageType" : "TRUSTED_FOR_OUTBOUND"
}'

$ curl 'https://sfo-vcf01.rainpole.io/v1/sddc-manager/trusted-certificates' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -d '{
  "certificate" : "-----BEGIN CERTIFICATE-----\n ... \n-----END CERTIFICATE-----",
  "certificateUsageType" : "TRUSTED_FOR_INBOUND"
}'

HTTP Request

POST /v1/sddc-manager/trusted-certificates HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 136
Host: sfo-vcf01.rainpole.io

{
  "certificate" : "-----BEGIN CERTIFICATE-----\n ... \n-----END CERTIFICATE-----",
  "certificateUsageType" : "TRUSTED_FOR_OUTBOUND"
}

POST /v1/sddc-manager/trusted-certificates HTTP/1.1
Content-Type: application/json
Accept: application/json
Content-Length: 135
Host: sfo-vcf01.rainpole.io

{
  "certificate" : "-----BEGIN CERTIFICATE-----\n ... \n-----END CERTIFICATE-----",
  "certificateUsageType" : "TRUSTED_FOR_INBOUND"
}

HTTP Response

HTTP/1.1 200 OK

HTTP/1.1 200 OK

Tip : Refer to: Add trusted certificate to the SDDC manager API

2. Get the trusted certificates from the SDDC manager

2.1. Prerequisites

  • VCF environment.

2.2. Steps

  • Invoke the API.

cURL Request

Unresolved directive in usecases/get_trustedCertificates.adoc - include::../applianceUtilities/get_trusted_certificates_v1/curl-request.adoc[]
HTTP Request

Unresolved directive in usecases/get_trustedCertificates.adoc - include::../applianceUtilities/get_trusted_certificates_v1/http-request.adoc[]
HTTP Response

Unresolved directive in usecases/get_trustedCertificates.adoc - include::../applianceUtilities/get_trusted_certificates_v1/http-response.adoc[]

Tip : Refer to: Get the trusted certificates from the SDDC manager API

3. Delete a trusted certificate from the SDDC manager

3.1. Prerequisites

  • VCF environment.

3.2. Steps

  • Invoke the API.

cURL Request

Unresolved directive in usecases/delete_trustedCertificate.adoc - include::../applianceUtilities/delete_trusted_certificate_v1/curl-request.adoc[]
HTTP Request

Unresolved directive in usecases/delete_trustedCertificate.adoc - include::../applianceUtilities/delete_trusted_certificate_v1/http-request.adoc[]
HTTP Response

Unresolved directive in usecases/delete_trustedCertificate.adoc - include::../applianceUtilities/delete_trusted_certificate_v1/http-response.adoc[]

Tip : Refer to: Delete a trusted certificate from the SDDC manager API

Last updated 2023-04-27 11:11:39 PDT

Operations



[{"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/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf
Feedback

Was this page helpful?