2 generateCSR
Victor Aleksejevs edited this page 2018-08-10 21:35:19 +03:00
This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

URL: /tools/csr/generate/
Request type: POST

Overview

The generateCSR method generaa tes valid CSR code from the submitted values (2048bits). Returns CSR code and CSR private key.

Request parameters

  • csr_commonname - FQDN csr is generated for, can also be IP
  • csr_organization - organization name
  • csr_department - organization department
  • csr_city - city
  • csr_state - state
  • csr_country - country in ISO format
  • csr_email - email address

Response

If no errors:

  • csr_code - CSR code, needed for SSL generation
  • csr_key - CSR private key, needed for SSL installation
  • csr_commonname - FQDN csr is generated for
  • csr_email
  • csr_organization
  • csr_date CSR creation date
  • success - success value (true)