Generate a new key and a self-signed certificate, which immediately replaces the old one. Restarts Grafana in a successful case.
Method: POST
Params None
Response
{
"command": "/generateCertificate",
"command_result": {},
"errors": false,
"general_message": "Successfully generated new certificate"
}