Friday, May 18, 2018

Secure domain that is with BigRock while the resource is on AWS

1. The SSL certificate to be installed on AWS EC2.
2. Need to buy the certificate from Bigrock and for doing this, need to provide CSR to big rock
3. Once this is done, big rock will send the certificate and certificate chain which needs to be uploaded on to the instance and enable mod_ssl and modify the httpd.conf.
4. In big rock, select the domain and add A record with the instance EIP. This will point the domain to the instance.

The digicert link in the reference section has helped a bit. Following the document, the first step was to

1. create csr using openssl cert. The command goes as below. This can be run on the CLI AWS.

openssl req –new –newkey rsa:2048 –nodes –keyout server.key –out server.csr

2.  The above will ask so many questions When prompted, type your organizational information, beginning with your geographic information.

3. Open the .csr file that you created with a text editor.

4. Copy the text, including the -----BEGIN NEW CERTIFICATE REQUEST----- and -----END NEW CERTIFICATE REQUEST----- tags, and paste it into the BigRock order form.

and on the BigRock console, it was like below












Manage DNS option gave the domains that are listed and to the domain, added the CSR that was generated. It gave the confirmation below.










references:
https://www.digicert.com/csr-creation-ssl-installation-aws-openssl.htm#create-csr
https://stackoverflow.com/questions/37291810/how-do-i-turn-my-http-website-to-https

No comments:

Post a Comment