You can create a self-signed certificate by running a workflow from the Configuration plug-in or by using the REST API.

About this task

The Configuration plug-in contains a workflow for creating a certificate database and inserting a self-signed server certificate in it. You can access this workflow by navigating to Configuration > Package Signing Certificate folder in the Workflows view of the Orchestrator client. In addition, you can also run this workflow by using the Orchestrator REST API.

For information about creating a certificate database and a self-signed server certificate by using the Orchestrator configuration interface, see Create a Self-Signed Server Certificate.

Procedure

  1. Make a GET request at the URL of the Workflow service of the Create a certificate database and a self-signed server certificate workflow.
    GET https://{orchestrator_host}:{port}/vco/api/workflows?conditions=name=Create a certificate database and a self-signed server certificate
  2. Retrieve the definition of the Create a certificate database and a self-signed server certificate workflow by making a GET request at the URL of the definition.
    GET https://{orchestrator_host}:{port}/vco/api/workflows/4d6b34ee-86f7-4a30-8ca0-c8d56ac0f74b
  3. Make a POST request at the URL that holds the execution objects of the Create a certificate database and a self-signed server certificate workflow.
    POST https://{orchestrator_host}:{port}/vco/api/workflows/4d6b34ee-86f7-4a30-8ca0-c8d56ac0f74b/executions
  4. Provide values for the input parameters of the Create a certificate database and a self-signed server certificate workflow in an execution-context element in the request body.

    Option

    Description

    commonName

    The common name of the certificate that consists of at least six characters

    organization

    The name of the organization

    organizationalUnit

    The name of the organization unit

    country

    The country code (two characters)