Overview
- Category
- Security
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/csr-generator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/csr-generator/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
common_name· string · required- Enter common name.
organization· string · required- Enter organization.
country· string · required- Enter country code.
{
"type": "object",
"properties": {
"common_name": {
"type": "string",
"description": "Enter common name."
},
"organization": {
"type": "string",
"description": "Enter organization."
},
"country": {
"type": "string",
"description": "Enter country code."
}
},
"required": [
"common_name",
"organization",
"country"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
type· string- Generated type produced by the tool.
details· array- Subject and key details produced by the tool.
fingerprint· string- Public-key fingerprint produced by the tool.
notice· string- Generation notice produced by the tool.
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Generated type produced by the tool."
},
"details": {
"type": "array",
"description": "Subject and key details produced by the tool."
},
"fingerprint": {
"type": "string",
"description": "Public-key fingerprint produced by the tool."
},
"notice": {
"type": "string",
"description": "Generation notice produced by the tool."
}
},
"additionalProperties": false
}
CSR Generator worked example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/csr-generator/execute" \
-H "Content-Type: application/json" \
-d '{
"common_name": "example.com",
"organization": "Example Organization",
"country": "US"
}'
{
"ok": true,
"data": {
"slug": "csr-generator",
"result": {
"values": {
"type": "PKCS#10 CERTIFICATE REQUEST",
"details": [
{
"field": "Common name",
"value": "example.com"
},
{
"field": "Organization",
"value": "Example Organization"
},
{
"field": "Country",
"value": "US"
},
{
"field": "Request PEM",
"value": "-----BEGIN CERTIFICATE REQUEST-----\nMIIChzCCAW8CAQAwQjELMAkGA1UEBhMCVVMxHTAbBgNVBAoMFEV4YW1wbGUgT3Jn\nYW5pemF0aW9uMRQwEgYDVQQDDAtleGFtcGxlLmNvbTCCASIwDQYJKoZIhvcNAQEB\nBQADggEPADCCAQoCggEBAKO1UbMqFbhWQyFf15E9I/wmKjVlD5djHAdm8k26gTKQ\nNkhwxs3DrIn1Mn+CyLjmeJc0yHNRJIXybO0ZL232o33x5v56INxNXYUK7fF6Bcbw\nSv9uty+ttQ9015lJ1A+n01UtBx4eZRtIaIYiJROtYLQVErK7B9HTUGW5u8+J38Ln\nhIP1ZLNKtjFm9OgbJZp4tWSjiSnGlTQJAFV2xAyE7ruj4Wz10Ai/aLfRBTnAQ1i9\n/DWrUmUUIGCEXeadH3fNB6Qg2FLsy/9nkR5R1Gs6wx/9cbQaVh9RRbpdxoJN4LsK\npk0/VViIe3Z19+uz+yigM1XOQgjhiueU0zOFUQr4udMCAwEAAaAAMA0GCSqGSIb3\nDQEBCwUAA4IBAQCeUFzKT26UuKkx5v76pTl7goexEZYf3Ney88rqBIlwmD/r7xCf\nXuNaxUADpj0gutIkKFqCFl2inV3yMgbceCndazaSF0tuShf27o3qcMZrfapTr4wH\njD0dTeRbRvgLPlMO61IjyFtsn9fcV50/5v0uotqVvGUG30MSsLABkxaqHzqlcxDj\nDCWxKE+LNGKURmtlugJZp2DJ+DqXPnpWhsbX7RDKsMBOlDG1QPGR8GO/q+MwENSt\n1j4TPTaIQkiHcHYjyMZk0khu3yeqWeGKbSPhVUymDDILt8IljK6WQvOdKlkIveXj\nmRzT6eOqgkY8bUgnXv+R30eE8SkUk2v/QWOx\n-----END CERTIFICATE REQUEST-----"
}
],
"fingerprint": "88:D1:4E:EB:2C:D4:14:EC:20:77:1C:92:B7:53:BA:64:E0:74:6C:02:03:25:17:DA:37:D2:57:0D:B2:44:2F:C3",
"notice": "The CSR and key pair were generated locally. Save the private key in a dedicated certificate workflow before using a CSR operationally."
},
"display": {
"display": "PKCS#10 CERTIFICATE REQUEST"
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.