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

10 Reasons Why Your Business Should Invest in eCommerce

Hire Developer Apr 9th, 2025

10 Reasons Why Your Business Should Invest in eCommerce...

Read more
Best Practices for a Successful OneStream Implementation: Avoiding Common Pitfalls

Hire Developer Mar 31st, 2025

Best Practices for a Successful OneStream Implementatio...

Read more
ESG Reporting & Planning in OneStream: A Guide to Sustainability Metrics

Hire Developer Mar 24th, 2025

ESG Reporting & Planning in OneStream: A Guide to ...

Read more

INQUIRY

Let's get in touch

UNITED STATES

4411 Suwanee Dam road,
Bld. 300 Ste. 350
Suwanee GA, 30024

Sales: +1 (415) 230 0051

UNITED KINGDOM

Kemp House 160 City Road, London,United Kingdom EC1V 2NX

Sales: +44 7404 607567

INDIA

101, Kalasagar Shopping Hub, Sattadhar, Gujarat 380061

Sales: +91 999-894-5667

For Project Inquiries

Please enable JavaScript in your browser to complete this form.
emailsales@solutionanalysts.com emailinfo@solutionanalysts.com emailcareer@solutionanalysts.com skypebiz.solutionanalysts