[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-appliance-config-api
Update Appliance Certificate
DescriptionUpdate the appliance certificate.
Request
URLURL
https://{api_host}//appliance/certificates/server
Request Body
Request Body
InstallCertificateSpec
of mimetype application/json
Optional
The appliance certificate to be updated.
{
"csr_format": {
"ca_chain": [
"string"
],
"certificate": "string"
},
"pkcs12_format": {
"certificate": "string",
"password": "string"
},
"selfsigned_format": {
"common_name": "string",
"country": "US",
"email": "admin@vmware.com",
"fqdn": "string",
"ip": "10.20.11.15, 10.20.11.26",
"locality": "Palo Alto",
"organization": "VMware",
"organization_unit": "VMware organization unit",
"state": "California"
}
}
selfsigned_format
Optional
Data to be used for generating the signing request.
Authentication
This operation uses the following authentication methods.
Errors
ResponseError
400
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
401
Unauthorized - the client must authenticate itself to get the requested response
ResponseError
403
Forbidden - not sufficient access rights to fulfill the request
ResponseError
500
Internal server error - unexpected condition prevents fulfilling the request
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"csr_format":{"ca_chain":["string"],"certificate":"string"},"pkcs12_format":{"certificate":"string","password":"string"},"selfsigned_format":{"common_name":"string","country":"US","email":"admin@vmware.com","fqdn":"string","ip":"10.20.11.15, 10.20.11.26","locality":"Palo Alto","organization":"VMware","organization_unit":"VMware organization unit","state":"California"}}' https://{api_host}/appliance/certificates/server
[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-appliance-config-api
On This Page
Certificates Operations
post
post
post