This tutorial describes the process for How to configure/Install your Godaddy SSL certificate with NGINX server on AWS EC2 Instance.
>$ cd /usr/share/ssl/certs/yourdomain.com/ If directory is not present you can create new one.
>$ 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"
>$ cat your-certificate-name.csr
/usr/share/ssl/certs/yourdomain.com/
>$ cat your-ssl.crt your-ssl-bundle.crt > your-domain.chained.crt
ssl_certificate "/usr/share/ssl/certs/yourdomain.com/yourdomain.chained.crt"; ssl_certificate_key "/usr/share/ssl/certs/yourdomain.com/yourdomain.key";
>$ sudo service nginx restart
By Nitish Thakrar
Get free consultation and let us know your project idea to turn
it into an amazing digital product.