{"id":20516,"date":"2017-04-26T12:31:00","date_gmt":"2017-04-26T18:01:00","guid":{"rendered":"https:\/\/www.solutionanalysts.com\/blog\/how-to-configure-your-godaddy-ssl-certificate-with-nginx-server-on-aws-ec2-instance\/"},"modified":"2023-08-16T23:04:50","modified_gmt":"2023-08-17T04:34:50","slug":"how-to-configure-your-godaddy-ssl-certificate-with-nginx-server-on-aws-ec2-instance","status":"publish","type":"post","link":"https:\/\/www.solutionanalysts.com\/blog\/how-to-configure-your-godaddy-ssl-certificate-with-nginx-server-on-aws-ec2-instance\/","title":{"rendered":"How to configure your Godaddy SSL certificate with NGINX server on AWS EC2 Instance."},"content":{"rendered":"<p>This tutorial describes the process for How to configure\/Install your Godaddy SSL certificate with NGINX server on AWS EC2 Instance.<\/p>\n<ul>\n<li>Login to your server.<\/li>\n<li>Go to below directory :<\/li>\n<\/ul>\n<pre class=\"lang:plain\">&gt;$ cd \/usr\/share\/ssl\/certs\/yourdomain.com\/ \r\nIf directory is not present you can create new one.<\/pre>\n<ul>\n<li><span style=\"font-weight: 400;\">Copy below command and replace <\/span><b>your-certificate-name.csr <\/b><span style=\"font-weight: 400;\">and <\/span><b>your-certificate-name.key <\/b><span style=\"font-weight: 400;\">and <\/span><b>yourdomain.com<\/b><\/li>\n<\/ul>\n<pre class=\"lang:php\">&gt;$ 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\"<\/pre>\n<ul>\n<li><span style=\"font-weight: 400;\">Run below command and copy the whole content given by it. Replace <\/span><b>your-certificate-name.csr<\/b><\/li>\n<\/ul>\n<pre class=\"lang:php\">&gt;$ cat your-certificate-name.csr<\/pre>\n<ul>\n<li>Paste the content of csr into godady ssl manager in Certificate Signing Request (CSR).<\/li>\n<li>After some time it will allow you to download the certificate. Select Other from Dropdown and download.<\/li>\n<li>Now extract .zip file and put both the file on server at this path<\/li>\n<\/ul>\n<pre class=\"lang:php\">\/usr\/share\/ssl\/certs\/yourdomain.com\/<\/pre>\n<ul>\n<li><span style=\"font-weight: 400;\">Run below command<\/span><\/li>\n<\/ul>\n<pre class=\"lang:php\">&gt;$ cat your-ssl.crt your-ssl-bundle.crt &gt; your-domain.chained.crt<\/pre>\n<ul>\n<li><span style=\"font-weight: 400;\">Add below in your server blog of NGINX for SSL.<\/span><\/li>\n<\/ul>\n<pre class=\"lang:php\">ssl_certificate \"\/usr\/share\/ssl\/certs\/yourdomain.com\/yourdomain.chained.crt\";\r\nssl_certificate_key \"\/usr\/share\/ssl\/certs\/yourdomain.com\/yourdomain.key\";<\/pre>\n<ul>\n<li>Save your file.<\/li>\n<li>Restart nginx service.<\/li>\n<\/ul>\n<pre class=\"lang:php\">&gt;$ sudo service nginx restart<\/pre>\n<ul>\n<li><span style=\"font-weight: 400;\">Make sure port 443 is open for all under security group in EC2 consle.<\/span><\/li>\n<li>Check your configuration with below link. https:\/\/www.sslshopper.com\/ssl-checker.html?#hostname=yourdomain.com<\/li>\n<\/ul>\n<p>By Nitish Thakrar<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 : &gt;$ 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 &gt;$ openssl req [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":20517,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-20516","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hire-developer"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/posts\/20516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/comments?post=20516"}],"version-history":[{"count":1,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/posts\/20516\/revisions"}],"predecessor-version":[{"id":34340,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/posts\/20516\/revisions\/34340"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/media\/20517"}],"wp:attachment":[{"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/media?parent=20516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/categories?post=20516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/tags?post=20516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}