A certificate signing request (CSR) is a standardized text format for requesting digital certificates from the certification authority. The CSR format is an encrypted text block generated by the server
on which the certificate is used. A certification request contains information
is part of the certificate. Normally, the private key is created at the same time as the certificate signing request.The certificate authority (CA) uses the certificate signing request to create the SSL certificate. It does not need the private key for this purpose. Certificates created with a special Certificate Signing Request can only be decrypted with the private key generated with the Certificate Signing Request.
(PEM). The CSR format marks the beginning and the end of the CSR encryption with a corresponding note: -----BEGIN CERTIFICATE REQUEST-----, resp -----END CERTIFICATE REQUEST-----. The key length depends on the security requirements and can be 512 bits, but also 1024 bits or 2048 bits.