Establish Trust Between Key Provider and
Key ServerLast Updated December 16, 2024
You can use HTTP requests to perform trust management operations.
- Verify that you have access to a workingvSphere Trust Authorityenvironment.
- Verify that you have Trusted Infrastructure administrative privileges.
You can list and update server certificates, retrieve, generate, and update client
certificates, generate a CSR, and set the key server credential. Some operations
require you to specify parameters in the body of the HTTP request according to your
vSphere Trust Authority
environment. For details about the syntax of each HTTP request body, see the
API Reference
documentation.- List the remote server certificates on the configured key servers to verify the trusted key servers.You receive the task ID in the response body. You can use the task ID to check the status of the task by running the following HTTP request.
- Retrieve the list of trusted server certificates.You receive the task ID in the response body. You can use the task ID to check the status of the task by running the following HTTP request.
- Update the trusted server certificates.This operation overwrites the existing list of trusted certificates.You receive the task ID in the response body. You can use the task ID to check the status of the task by running the following HTTP request.
- Retrieve the existing client certificate.You receive the task ID in the response body. You can use the task ID to check the status of the task by running the following HTTP request.If the operation is successful, you receive the client certificate in PEM format.
- Generate a new self-signed client certificate, used to establish a secure connection to the key server.This operation overwrites the existing client certificate.You receive the task ID in the response body. You can use the task ID to check the status of the task by running the following HTTP request.If the operation is successful, you can provide the newly generated self-signed client certificate to the key server to establish trust with the Key Provider.
- Update the client certificate to specify what Key Provider should use to authenticate with the key server.If a client certificate already exists, this operation overwrites it.You receive the task ID in the response body. You can use the task ID to check the status of the task by running the following HTTP request.
- Generate a certificate signing request (CSR) for the client certificate.If a CSR already exists, this operation overwrites it.You receive the task ID in the response body. You can use the task ID to check the status of the task by running the following HTTP request.If the operation is successful, you receive the client CSR in PEM format and the host ID which issued it. The generated CSR can later be signed by a third party. The signed CSR should be replicated and set on each host.
- Set the key server credential for key servers that require a password.You receive the task ID in the response body. You can use the task ID to check the status of the task by running the following HTTP request.