[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-appliance-config-api

Update Appliance Certificate

Description

Update the appliance certificate.

Request

Request

URL

URL


post
https://{api_host}//appliance/certificates/server
Copy

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"
	}
}
csr_format Optional

Signed certificate data based on a generated CSR.


pkcs12_format Optional

Data to be used to install PKCS12 certificate.


selfsigned_format Optional

Data to be used for generating the signing request.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

Appliance certificate is updated.

Errors

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

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
Feedback

Was this page helpful?