Este site utiliza cookies. Ao navegar no site estará a consentir a sua utilização. Saiba mais sobre o uso de cookies.

SHOPPING CART See the items added 0
+351 253 560 650
suporte@digitalsign.pt
 

Help

You do not know what the most appropriate type of certificate for yourself or your company?

Technical Suport

Need Technical Support? To better serve you, we offer a ticket System.

Express Service

Do you have urgency in issuing your Qualified Digital Certificate?

Shopping Guide

Trying to place an order?

We help!

CSR

  • What is a CSR?

    The CSR (Certificate Signing Request) is an encrypted file that contains the public key, location and URL (Web address) of the company.

    To create a CSR, you must use the Web server software. When generating CSR, the Web server creates two files: a private key and CSR.

    The CSR is required when the client asks a server ID. The CSR has to be sent to us together with the application of server certificate.

     

  • How to create a CSR?

    Let us briefly explain the creation of a CSR, giving the example of the Apache server. For other servers you can consult this help.

     

    Step 1 – Generate private key

    1. a)Run the following command:

                 openssl genrsa -des3 -out <file with private key>.key 2048

    2. Example:

                 This command will generate a private key 2048-bit RSA and write it in privatekey.key file

    3. b) When the command asks for the password: enter a secure password and keep it from being forgotten because this password allows access to the private key. If not want to use password omit the command: -des3

     

    Step 2 – Generate the CSR

    1. a) Run the following command: openssl req -new -key .key -out .csr

      Example:

      The command will ask for the attributes of the certificate:

      Country Name:
      The code of the country. Example: PT (caps lock)

      State or Province:
      The state/district of the company. Example: Braga

      Locality or City:
      City of the company. Example: Guimarães

      Company:
      Name of the company. Example DigitalSign Certificadora Digital SA

      Organizational Unit:
      Department. Example: Website (not mandatory)

      Common Name:
      Host+ certificate domain. Example: www.digitalsign.pt

    2. b) The pair of private / public key has now been created. The private key is stored on the server and is used to decipher. The public part in the form of CSR (certrequest.csr) will now be used for the certificate request.

    3. c) To copy the CSR and enter it on the form, open a text editor, such as Notepad or Vi and select all the contents of .csr file and copy and paste it to the form. Do not use Microsoft Word for this task because it can enter invalid characters in CSR.

    4. d) When submitting the CSR in the form, the CSR is analyzed and your information is extracted and presented to the user, who can check the data in the CSR and validate them.

    5. e) After entering CSR and the data on it checked, you can proceed with the certificate application.

  • What is the aspect of a CSR?

    Visually the CSR is text that starts with a line containing: "-----BEGIN CERTIFICATE REQUEST-----" and ends with the last line with: "-----END CERTIFICATE REQUEST-----"

     

    Example:

    -----BEGIN CERTIFICATE REQUEST-----
    MIICxDCCAawCAQAwfzELMAkGA1UEBhMCYnIxEjAQBgNVBAcMCVNhbyBQYXVsbzEu
    MCwGA1UECgwlRElHSVRBTFNJR04gQ0VSVElGSUNBQ0FPIERJR0lUQUwgTFREQTEs
    MCoGA1UEAwwjd3d3LmRpZ2l0YWxzaWduY2VydGlmaWNhZG9yYS5jb20uYnIwggEi
    MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDKLAtrzhVU8tuBKURRRDeL4el5
    0V4NywfGuyDHly6UW6BbLbVEYTCBJiaMOKOkZBybv32u0cLItAd5kfDxy7H7s1m7
    nPcYRCAzNhKKWQLaN8WQ8FhbRJmwuUwRvnyLcQp+wrl4H082vInJLSme8nx9XiNt
    H3t0gWOE0UrYKDEeK8/kAU6aurt4tJrSdhcfwYdv6Kd12/7BUU61Ha6ZokBkiH+G
    mPZK9cCmux3BVIAHODyAJ8GzyfEh7irN7i123qTjhLcUBqw7+TWZ9i53qA1uNXZ0
    SR5yIj3DCyJ1VSZ6MGKJ+HsyoBdK20omgnxV58ooSEY1yJpCAKWMWhXkFihfAgMB
    AAGgADANBgkqhkiG9w0BAQUFAAOCAQEAmziDYcPPOvxF5fi27O8jtLNiy+Ef3+5Y
    dzjyuj6KAxrp37p3T7174o+55w3DZ8dYP3Gpn+QaVwoTma/ZWaN7nE4F596iBs4m
    +u/VKgTGtKzP+3CM6eVyNjiQSh0ozjrVWjLLKxvDnuLm5O203HFc8WUVwncWFmOC
    KsLiHWfk6Zqc9e8xEksu0a+rVdTYatOcRGyTmxxwzW1+gB9J/0TMxkvRrywIcybf
    P5xjXw3Tw4b9KS2cvSOf1qHmOby+dyRmGBZf46gUFHviPGaRNyTXs9nhVBiQFx+A
    PdzCw+IF/RsivOa+Qdlr/SS7QqGcdCzYjy120DAEqwKQkrec5f52oQ==
    -----END CERTIFICATE REQUEST-----