{"id":197,"date":"2017-07-31T13:45:13","date_gmt":"2017-07-31T13:45:13","guid":{"rendered":"http:\/\/byomkesh.in\/wordpress\/?page_id=197"},"modified":"2017-07-31T13:45:13","modified_gmt":"2017-07-31T13:45:13","slug":"free-ssl-certificate-using-letsencrypt-org","status":"publish","type":"page","link":"http:\/\/byomkesh.in\/wordpress\/free-ssl-certificate-using-letsencrypt-org\/","title":{"rendered":"free SSL Certificate using letsencrypt.org"},"content":{"rendered":"<p><strong>#  wget https:\/\/github.com\/Neilpang\/acme.sh\/archive\/2.7.2.tar.gz<\/strong><br \/>\n&#8211;2017-07-31 19:03:09&#8211;  https:\/\/github.com\/Neilpang\/acme.sh\/archive\/2.7.2.tar.gz<br \/>\nResolving github.com&#8230; 192.30.253.113, 192.30.253.112<br \/>\nConnecting to github.com|192.30.253.113|:443&#8230; connected.<br \/>\nHTTP request sent, awaiting response&#8230; 302 Found<br \/>\nLocation: https:\/\/codeload.github.com\/Neilpang\/acme.sh\/tar.gz\/2.7.2 [following]<br \/>\n&#8211;2017-07-31 19:03:10&#8211;  https:\/\/codeload.github.com\/Neilpang\/acme.sh\/tar.gz\/2.7.2<br \/>\nResolving codeload.github.com&#8230; 192.30.253.121, 192.30.253.120<br \/>\nConnecting to codeload.github.com|192.30.253.121|:443&#8230; connected.<br \/>\nHTTP request sent, awaiting response&#8230; 200 OK<br \/>\nLength: unspecified [application\/x-gzip]<br \/>\nSaving to: \u00e22.7.2\u00e2<\/p>\n<p>    [   <=>                                                                                                                    ] 74,920       132K\/s   in 0.6s<\/p>\n<p>2017-07-31 19:03:12 (132 KB\/s) &#8211; \u00e22.7.2\u00e2<\/p>\n<p><strong># tar zxvf 2.7.2<\/strong><br \/>\nacme.sh-2.7.2\/<br \/>\nacme.sh-2.7.2\/.github\/<br \/>\nacme.sh-2.7.2\/.github\/ISSUE_TEMPLATE.md<br \/>\nacme.sh-2.7.2\/.github\/PULL_REQUEST_TEMPLATE.md<br \/>\n&#8230;&#8230;<br \/>\n&#8230;&#8230;<br \/>\n&#8230;&#8230;<br \/>\nacme.sh-2.7.2\/dnsapi\/dns_pdns.sh<br \/>\nacme.sh-2.7.2\/dnsapi\/dns_vscale.sh<br \/>\n<strong># cd acme.sh-2.7.2\/<br \/>\n# ls<\/strong><br \/>\nacme.sh  deploy  dnsapi  Dockerfile  README.md<br \/>\n<strong># .\/acme.sh &#8211;issue &#8211;apache -d www.nmlindia.org<\/strong><br \/>\n[Mon Jul 31 19:03:55 IST 2017] Checking if there is an error in the apache config file before starting.<br \/>\n[Mon Jul 31 19:03:55 IST 2017] OK<br \/>\n[Mon Jul 31 19:03:55 IST 2017] JFYI, Config file \/etc\/httpd\/conf\/httpd.conf is backuped to \/root\/.acme.sh\/httpd.conf<br \/>\n[Mon Jul 31 19:03:55 IST 2017] In case there is an error that can not be restored automatically, you may try restore it yourself.<br \/>\n[Mon Jul 31 19:03:55 IST 2017] The backup file will be deleted on success, just forget it.<br \/>\n[Mon Jul 31 19:03:57 IST 2017] Registering account<br \/>\n[Mon Jul 31 19:04:00 IST 2017] Registered<br \/>\n[Mon Jul 31 19:04:02 IST 2017] Update success.<br \/>\n[Mon Jul 31 19:04:02 IST 2017] ACCOUNT_THUMBPRINT=&#8217;ShhLMUZgwR2vEzn6tN1C1HyoPGv_1QjepkK2j5zSa9o&#8217;<br \/>\n[Mon Jul 31 19:04:02 IST 2017] Creating domain key<br \/>\n[Mon Jul 31 19:04:03 IST 2017] The domain key is here: \/root\/.acme.sh\/www.nmlindia.org\/www.nmlindia.org.key<br \/>\n[Mon Jul 31 19:04:03 IST 2017] Single domain=&#8217;www.nmlindia.org&#8217;<br \/>\n[Mon Jul 31 19:04:03 IST 2017] Getting domain auth token for each domain<br \/>\n[Mon Jul 31 19:04:03 IST 2017] Getting webroot for domain=&#8217;www.nmlindia.org&#8217;<br \/>\n[Mon Jul 31 19:04:03 IST 2017] Getting new-authz for domain=&#8217;www.nmlindia.org&#8217;<br \/>\n[Mon Jul 31 19:04:05 IST 2017] The new-authz request is ok.<br \/>\n[Mon Jul 31 19:04:05 IST 2017] Verifying:www.nmlindia.org<br \/>\n[Mon Jul 31 19:04:10 IST 2017] Success<br \/>\n[Mon Jul 31 19:04:10 IST 2017] Verify finished, start to sign.<br \/>\n[Mon Jul 31 19:04:13 IST 2017] Cert success.<br \/>\n&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<br \/>\n&#8230;&#8230;..<br \/>\n&#8230;&#8230;.<br \/>\nhidden by bd for privacy<br \/>\n&#8230;&#8230;<br \/>\n&#8230;&#8230;<br \/>\n&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<br \/>\n[Mon Jul 31 19:04:13 IST 2017] Your cert is in  \/root\/.acme.sh\/www.nmlindia.org\/www.nmlindia.org.cer<br \/>\n[Mon Jul 31 19:04:13 IST 2017] Your cert key is in  \/root\/.acme.sh\/www.nmlindia.org\/www.nmlindia.org.key<br \/>\n[Mon Jul 31 19:04:13 IST 2017] The intermediate CA cert is in  \/root\/.acme.sh\/www.nmlindia.org\/ca.cer<br \/>\n[Mon Jul 31 19:04:13 IST 2017] And the full chain certs is there:  \/root\/.acme.sh\/www.nmlindia.org\/fullchain.cer<\/p>\n<p><strong># cp \/root\/.acme.sh\/www.nmlindia.org\/www.nmlindia.org.cer \/etc\/pki\/tls\/certs\/www.crt<\/strong><br \/>\ncp: overwrite `\/etc\/pki\/tls\/certs\/www.crt&#8217;? y<br \/>\n<strong># cp \/root\/.acme.sh\/www.nmlindia.org\/www.nmlindia.org.key \/etc\/pki\/tls\/private\/www.key<\/strong><br \/>\ncp: overwrite `\/etc\/pki\/tls\/private\/www.key&#8217;? y<br \/>\n<strong># cp  \/root\/.acme.sh\/www.nmlindia.org\/fullchain.cer \/etc\/pki\/tls\/certs\/intermediate.pem<\/strong><br \/>\ncp: overwrite `\/etc\/pki\/tls\/certs\/intermediate.pem&#8217;? y<br \/>\n<strong># service httpd restart<\/strong><br \/>\nStopping httpd:                                            [  OK  ]<br \/>\nStarting httpd:                                            [  OK  ]<br \/>\n#<\/p>\n","protected":false},"excerpt":{"rendered":"<p># wget https:\/\/github.com\/Neilpang\/acme.sh\/archive\/2.7.2.tar.gz &#8211;2017-07-31 19:03:09&#8211; https:\/\/github.com\/Neilpang\/acme.sh\/archive\/2.7.2.tar.gz Resolving github.com&#8230; 192.30.253.113, 192.30.253.112 Connecting to github.com|192.30.253.113|:443&#8230; connected. HTTP request sent, awaiting response&#8230; 302 Found Location: https:\/\/codeload.github.com\/Neilpang\/acme.sh\/tar.gz\/2.7.2 [following] &#8211;2017-07-31 19:03:10&#8211; https:\/\/codeload.github.com\/Neilpang\/acme.sh\/tar.gz\/2.7.2 Resolving codeload.github.com&#8230; 192.30.253.121, 192.30.253.120 Connecting to codeload.github.com|192.30.253.121|:443&#8230; connected. HTTP request sent, awaiting response&#8230; 200 OK Length: unspecified [application\/x-gzip] Saving to: \u00e22.7.2\u00e2 [ ] 74,920 132K\/s in 0.6s 2017-07-31 &hellip; <a href=\"http:\/\/byomkesh.in\/wordpress\/free-ssl-certificate-using-letsencrypt-org\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">free SSL Certificate using letsencrypt.org<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-197","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/pages\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":2,"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/pages\/197\/revisions"}],"predecessor-version":[{"id":199,"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/pages\/197\/revisions\/199"}],"wp:attachment":[{"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/media?parent=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}