The snapshot belong to an actual installation of Godaddy SSL on AWS EC2 hosted ubuntu 16.04 Apache2 based magento website:-

  1. Login via root or www-data (in case of EC2, login via keyauthentication using user ubuntu, sudo su –> su – www-data)
  2. cd to /etc/ssl/private (Create directory if not present)
  3. on # type in command openssl req -new -newkey rsa:2048 -nodes -keyout newdomain.key -out newdomain.csr
  4. when Asked about input provide as actual:-

    Generating a 2048 bit RSA private key…………..+++………………………………………………………………………………………+++writing new private key to ‘newdomain.key’—–You are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is what is called a Distinguished Name or a DN.There are quite a few fields but you can leave some blankFor some fields there will be a default value,If you enter ‘.’, the field will be left blank.—–Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:? Locality Name (eg, city) []:? Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Email Address []:Please enter the following ‘extra’ attributes . to be sent with your certificate request
    A challenge password []:
    An optional company name []:

  5. view the content with command:- more newdomain.csr
  6. Copy all the content including :-

    —–BEGIN CERTIFICATE REQUEST—–

    —–END CERTIFICATE REQUEST—–

  7. paste it into the Certificate Regeneration process (Here is guide to regenerate with Godaddy)