/config/net/http/certificate

The certificate used by the web server to identify itself over HTTPS connections.

This resource is write-only.

The string is in PEM format and must contain both a private key as well as the matching certificate chain.

Replace /config/net/http/certificate

Set the HTTP certificate to the one passed in the request body.

This resource is not updated transactionally.

SecurityApiKey
Request
Request Body schema: application/json
string (configNetHttpCertificate)

The certificate used by the web server to identify itself over HTTPS connections.

This resource is write-only.

The string is in PEM format and must contain both a private key as well as the matching certificate chain.

Responses
200

Normal response.

401

Unauthorized response.

put/config/net/http/certificate
Request samples
application/json
"string"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/net/http/certificate

Set the HTTP certificate to the one passed in the request body.

This resource is not updated transactionally.

SecurityApiKey
Request
Request Body schema: application/json
string (configNetHttpCertificate)

The certificate used by the web server to identify itself over HTTPS connections.

This resource is write-only.

The string is in PEM format and must contain both a private key as well as the matching certificate chain.

Responses
200

Normal response.

401

Unauthorized response.

post/config/net/http/certificate
Request samples
application/json
"string"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/net/http/certificate

Reset to a factory-installed self-signed certificate.

This resource is not updated transactionally.

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

delete/config/net/http/certificate
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}