Generate Printer Certificate

POST /api/.../certificates/printer

Generates a printer certificate. The private key path is retrieved from the `PrivateKeysPath` setting in the `ConfigurationSettings`.

Request Information

Parameters
Name Type Required Description
DataToSign String Yes The data to be signed by the certificate.
Example
application/json, text/json
        {
            dataToSign": "code_ec5a1db9439f5bae851c6779d198e1d"
        }
    

Response Information

Example
application/json, text/json
    {
        "Data": "-----BEGIN CERTIFICATE-----\r\nMIIDQjCCAiqgAwIBAgIQOble\r\n-----END CERTIFICATE-----\r\n"
    }
    

HTTP Response Codes

Code Description
200 OK. Success
400 Bad Request. Required field missing.
500 Internal Server Error