5.5.2

Table Of Contents
Option Description
organizationalUnit
The name of the organization unit
country
The country code (two characters)
Managing SSL Certificates by Using the REST API
In addition to managing SSL certificates by using the Orchestrator configuration interface, you can also
manage trusted certificates when you run workflows from the Configuration plug-in or by using the REST
API.
The Configuration plug-in contains workflows for importing and deleting SSL certificates. You can access
these workflows by navigating to Configuration > SSL Trust Manager in the Workflows view of the
Orchestrator client. In addition, you can also run these workflows by using the Orchestrator REST API.
Delete an SSL Certificate by Using the REST API
You can delete an SSL certificate by running the Delete trusted certificate workflow of the Configuration
plug-in or by using the REST API.
Procedure
1 Make a GET request at the URL of the Workflow service of the Delete trusted certificate workflow.
GET https://{vcoHost}:{port}/vco/api/workflows?conditions=name=Delete trusted certificate
2 Retrieve the definition of the Delete trusted certificate workflow by making a GET request at the URL of
the definition.
GET https://{vcoHost}:{port}/vco/api/workflows/8a70a326-ffd7-4fef-97e0-2002ac49f5bd
3 Make a POST request at the URL that holds the execution objects of the Delete trusted certificate
workflow.
POST https://{vcoHost}:{port}/vco/api/workflows/8a70a326-
ffd7-4fef-97e0-2002ac49f5bd/executions/
4 Provide the name of the certificate you want to delete as an input parameter of the Delete trusted
certificate workflow in an execution-context element in the request body.
Import SSL Certificates by Using the REST API
You can import SSL certificates by running a workflow from the Configuration plug-in or by using the REST
API.
You can import a trusted certificate from a file or a URL. For information about importing the
vCenter Server SSL certificate by using the Orchestrator configuration interface, see “Import the vCenter
Server SSL Certificate,” on page 39.
Procedure
1 Make a GET request at the URL of the Workflow service.
Option Description
Import trusted certificate from a file
Imports a trusted certificate from a file
Import trusted certificate from URL
Imports a trusted certificate from a URL address
To import a trusted certificate from a file, make the following GET request:
GET https://{vcoHost}:{port}/vco/api/workflows?conditions=name=Import
trusted certificate from a file
Chapter 7 Configuring Orchestrator by Using the Configuration Plug-In and the REST API
VMware, Inc. 77