| Authorization token required | true |
| Admin Authorization token required | true |
<GenCSRRequest server="{server-id}" new="..." [type="{type}"] [digest="{digest}"] [keysize="{key-size}"]> ## GenCSRRequest
<C>{c} (String)</C>
<ST>{st} (String)</ST>
<L>{l} (String)</L>
<O>{o} (String)</O>
<OU>{ou} (String)</OU>
<CN>{cn} (String)</CN>
(<SubjectAltName>{subjectAltNames} (String)</SubjectAltName>)*
</GenCSRRequest>
elements and attributes you can define within a
<GenCSRRequest> element:
| XPath | Required / Optional | Description | ||||
| @server | Required (only 1) | Type: String Server ID |
||||
| @new | Required (only 1) | Type: String If value is "1" then force to create a new CSR, the previous one will be overwrited |
||||
| @type | Optional (0 or 1) | Type: String Type of CSR (required)
|
||||
| @digest | Optional (0 or 1) | Type: String digest. Default value: "SHA256" |
||||
| @keysize | Optional (0 or 1) | Type: String Key size. Default value: 2048. Minimum allowed value: 2048. |
||||
| /C | Optional (0 or 1) | Type: {c} (String) Subject attr C |
||||
| /ST | Optional (0 or 1) | Type: {st} (String) Subject attr ST |
||||
| /L | Optional (0 or 1) | Type: {l} (String) Subject attr L |
||||
| /O | Optional (0 or 1) | Type: {o} (String) Subject attr L |
||||
| /OU | Optional (0 or 1) | Type: {ou} (String) Subject attr OU |
||||
| /CN | Optional (0 or 1) | Type: {cn} (String) Subject attr CN |
||||
| /SubjectAltName | Optional (0 or more) | Type: {subjectAltNames} (String) Used to add the Subject Alt Name extension in the certificate, so multiple hosts can be supported |
<GenCSRResponse server="{server-name}" /> ## GenCSRResponse
elements and attributes you can define within a
<GenCSRResponse> element:
| XPath | Required / Optional | Description |
| @server | Required (only 1) | Type: String Server name |