Generating New Certificates
This returns a new RSA public/private certificate signed by Ops Manager's root CA certificate.
The returned certificate is not stored by Tanzu Ops Manager.
Request
URI
POST
https://{api_host}/api/v0/certificates/generate
COPY
Request Body
CertificateGenerate of type(s) application/json
Optional
{
"domains": [
"string"
]
}
array of string
domains
Optional
List of wildcard domains
Responses
200
OK
{
"certificate": "string",
"key": "string"
}
string
certificate
Optional
certificate
string
key
Optional
key
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/certificates/generate