How to configure your Godaddy SSL certificate with NGINX server on AWS EC2 Instance.

Apr 26th, 2017

How to configure your Godaddy SSL certificate with NGINX server on AWS EC2 Instance.

Share

This tutorial describes the process for How to configure/Install your Godaddy SSL certificate with NGINX server on AWS EC2 Instance.

  • Login to your server.
  • Go to below directory :
>$ cd /usr/share/ssl/certs/yourdomain.com/ 
If directory is not present you can create new one.
  • Copy below command and replace your-certificate-name.csr and your-certificate-name.key and yourdomain.com
>$ openssl req -new -newkey rsa:2048 -nodes -out your-certificate-name.csr -keyout your-certificate-name.key -subj "/C=IT/ST=Lombardia/L=Como/O=Batoc67 srl/CN=yourdomain.com"
  • Run below command and copy the whole content given by it. Replace your-certificate-name.csr
>$ cat your-certificate-name.csr
  • Paste the content of csr into godady ssl manager in Certificate Signing Request (CSR).
  • After some time it will allow you to download the certificate. Select Other from Dropdown and download.
  • Now extract .zip file and put both the file on server at this path
/usr/share/ssl/certs/yourdomain.com/
  • Run below command
>$ cat your-ssl.crt your-ssl-bundle.crt > your-domain.chained.crt
  • Add below in your server blog of NGINX for SSL.
ssl_certificate "/usr/share/ssl/certs/yourdomain.com/yourdomain.chained.crt";
ssl_certificate_key "/usr/share/ssl/certs/yourdomain.com/yourdomain.key";
  • Save your file.
  • Restart nginx service.
>$ sudo service nginx restart
  • Make sure port 443 is open for all under security group in EC2 consle.
  • Check your configuration with below link. https://www.sslshopper.com/ssl-checker.html?#hostname=yourdomain.com

By Nitish Thakrar

Comments are closed.

Let's Discuss Your Project

Get free consultation and let us know your project idea to turn
it into an amazing digital product.

Let’s talk

NEWS & BLOG

Related Blogs

Why should you hire React Native developers for your project?

Hire Developer Jun 19th, 2023

Why should you hire React Native developers for your pr...

Read more
Seven Wearable App Technology Trends to Watch Out for in 2022

Hire Developer Dec 28th, 2020

Seven Wearable App Technology Trends to Watch Out for i...

Read more
How On-demand Grocery Delivery App Benefits Your Store and Expands Business

Hire Developer Jun 9th, 2020

How On-demand Grocery Delivery App Benefits Your Store ...

Read more

INQUIRY

Let's get in touch

UNITED STATES

31236 Meadowview Square,
Delmar, DE 19940, USA

Sales: +1 (732) 927-5544

UNITED KINGDOM

13 Layton Road, Hounslow,
London, TW3 1YJ

Sales: +44 7404 607567

INDIA

2nd Floor, Sun Avenue One, Bhudarpura, Ayojan Nagar, Nr. Shyamal Cross Road, Ahmedabad, Gujarat-380006

Sales: +91 635-261-6164

For Project Inquiries