Modify Web Certificate

You can modify an existing web-certificate.

Request

To modify a certificate, send the HTTP PUT request to the /settings/certificates/webServer endpoint.

HTTP Request

PUT https://<hostname>/api/v2/settings/certificates/webServer

Request Headers

The request contains the following headers.

Header

Required/Optional

Value

Description

Authorization

Required

Bearer <Access-Token>

Authenticates a client who sends the request to the server. Must contain the access token for the current logon session in the Bearer <Access-Token> format.

Request Body

To modify the certificate send the webServerCertificatePfxBase64 and specify the webServerCertificatePfxPassword you used to protect the file.

{

 "webServerCertificatePfxBase64": "string",

 "webServerCertificatePfxPassword": "string"

}

Response

The server returns the following response to the client.

Response Codes

A successfully completed operation returns a response code 204 (No Content).

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Value

Description

Content-length

integer

Identifies the length of the response body message, in bytes.

Content-type

  • application/json
  • application/problem+json

Identifies the media type of the response body message.

Modify Web CertificateExample

The following request uploads the security certificate.

Request:

PUT https://51.11.247.127/api/v2/settings/certificates/webServer

 

Request Header:

Authorization: Bearer <Access-Token>

Content-Type: multipart/form-data; boundary=Random

 

Request Body:

{"webServerCertificatePfxBase64":"data:application/x-pkcs12;base64,MIIJwQIBAzCCCYcGCSqGSIb3DQEHAaCCCXgEggl0MIIJcDCCBCcGCSqGSIb3DQEHBqCCBBgwggQUAgEAMIIEDQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIDVhJpC7tfeICAggAgIID4He/fnNdJp+wGCFU0EsNCaFTx80NjNpfRYx/DaGcbnjQE5k6uLNh3OsmNgmtN9lbUHrC41ryk8t2h4Cu/P3iB5sG7YHk+LKZusxaSOsML+/pUGqSQBF5SkbcGUpHkONkKQ5wTT2X4ltPU8o8hIazis7nB8PJ8W3JPt/xJMwPrl7aMQ+AWgj85jmvPHCG+Sey631TyUzRQj1V5zJDvahEZJHzFCVrep8WpNF3vrJooVHf/3FkYpmm6M6Scp4Ty8iSCGEyLc8QlEOPMOhnu+4MiBNUPuE9BQX83sSpbVzRXvHi+DryTEMXJnigc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t00uFKpVdPM7UAvdxreg0Y/+StCZvB/a1pGmfd98DmWdjDthnF48JoaVfyG8BcTQkp1nv/4USNZOoDS9AsYeiLqftA4USOCkelxrB2hmWjDwW8aiM+l00x1uX4QCOkEX0KUS7swV5wGLUzdDGQUWYgrjYMorULKvFEiTw2eNFzHsHiORrMLWYBODTqFZtgJMFC/AFPBiXle5nlHN2CO//TQegR+g5RQm54JWHuzIPHJH0OzWwRQKbaAXbs9SYPSw0fxNYEoXMkY4uPmcZfB2IcdX4JrivyraCnojr0eLT5KllfUWylMznwPtjws+briL9rPANnj/7aozm/HDqkfk8BD1/WI52vW+JUeWFZLphcps/vDbHwwovV444G1xZKenHPKxpPoLSxPnPvPYxyOrXwukzY0ce1FsC1A/AsRjn2mLIfqhxhaRee5tk+bFnH8cbMgWHR1bZv81TzDk4WeK8ACzV97Gc+89haa+B8jv0PrHr86bzDkwIJH6Q2a2PKejFdlRoHpDfRVK88XjVLRw7KK3dC5wrOaQveD9DU/iURANejjWol+m0Ho+YDezvMf8os2vIc/S7ngvg23J3fMxJTAjBgkqhkiG9w0BCRUxFgQULsD7oxshvz9zQOOI/D6p3Y7AwFIwMTAhMAkGBSsOAwIaBQAEFFHzXUyKMkJz9srw4bDb9Op7M5cJBAindNR1uu/naQICCAA=",

"webServerCertificatePfxPassword":"1234"}

 

 

Response:

204

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.