To generate the CSR through Apache 2.x please follows the below given steps:-

  1. First log in to your server's terminal through SSH.
  2. At the command prompt, type the following command:- openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
     Note:- Donot use .com, .in, org etc in the end of your domain name, just type your domainname without these like:- yourdomain.com need to write as yourdomain.key and yourdomain.csr
  3. Now enter the requested information:-
    Country Code :- Here you have to mention the two-letter International Organization for Standardization format country code for the country in which your organization is legally registered.
          State/Province :- Here provide the Name of state, province, region, territory where your organization is located.
                                    Note :- Please enter the full name.

         City/Locality:- Here provide the Name of the city/locality in which your organization is registered/located.
 
         Organization :- Please mention the name under which your business is legally registered. The listed organization must be the legal registrant of the domain name in the certificate request.
        
         Organizational Unit :- Use this field to differentiate between divisions within an organization.Like:- "Information Technology" or "Accounts"

         Common Name :-  Type the fully-qualified domain name, or URL, you are securing And If you are requesting a Wildcard certificate, add an asterisk (*) to the left of the common name where you        want the wildcard, for example *.yourdomain.com.

    4. Now Open the CSR in a text editor like:- vi or vim and copy all of the text.

Now you have successfully generated your CSR So to complete the process copy & paste the contents of CSR into the CSR field on the SSL certificate-request page.
Was this answer helpful? 0 Users Found This Useful (0 Votes)