{"id":182,"date":"2019-01-09T10:32:27","date_gmt":"2019-01-09T09:32:27","guid":{"rendered":"http:\/\/blog.brunocsmartin.fr\/?p=182"},"modified":"2019-01-09T10:32:27","modified_gmt":"2019-01-09T09:32:27","slug":"certbot","status":"publish","type":"post","link":"https:\/\/blog.brunocsmartin.fr\/index.php\/2019\/01\/09\/certbot\/","title":{"rendered":"Certbot"},"content":{"rendered":"<p>Certbot is a tool that comes with letsencrypt to automatize renewal of certificates.<\/p>\n<p>&#8211; install it with your linux distribution<br \/>\n&#8211; to install a certificate run<br \/>\n<code>sudo certbot --nginx -d example.com -d www.example.com<\/code><\/p>\n<ul>\n<li>install it with your linux distribution<\/li>\n<li>to install a certificate run<\/li>\n<\/ul>\n<p><code>sudo certbot --nginx -d example.com -d www.example.com<\/code><\/p>\n<ul>\n<li>For debian and nginx, you&rsquo;ll have to run the following command :<\/li>\n<\/ul>\n<p><code>sudo certbot --authenticator standalone --installer nginx -d &lt;domain&gt; --pre-hook <span class=\"hljs-string\">\"systemctl stop nginx\"<\/span> --post-hook <span class=\"hljs-string\">\"systemctl start nginx\"<\/span><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Certbot is a tool that comes with letsencrypt to automatize renewal of certificates. &#8211; install it with your linux distribution &#8211; to install a certificate run sudo certbot &#8211;nginx -d example.com -d www.example.com install it with your linux distribution to install a certificate run sudo certbot &#8211;nginx -d example.com -d www.example.com For debian and nginx, &hellip; <a href=\"https:\/\/blog.brunocsmartin.fr\/index.php\/2019\/01\/09\/certbot\/\" class=\"more-link\">Continuer la lecture de <span class=\"screen-reader-text\">Certbot<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-182","post","type-post","status-publish","format-standard","hentry","category-non-classe"],"_links":{"self":[{"href":"https:\/\/blog.brunocsmartin.fr\/index.php\/wp-json\/wp\/v2\/posts\/182"}],"collection":[{"href":"https:\/\/blog.brunocsmartin.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.brunocsmartin.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.brunocsmartin.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.brunocsmartin.fr\/index.php\/wp-json\/wp\/v2\/comments?post=182"}],"version-history":[{"count":1,"href":"https:\/\/blog.brunocsmartin.fr\/index.php\/wp-json\/wp\/v2\/posts\/182\/revisions"}],"predecessor-version":[{"id":183,"href":"https:\/\/blog.brunocsmartin.fr\/index.php\/wp-json\/wp\/v2\/posts\/182\/revisions\/183"}],"wp:attachment":[{"href":"https:\/\/blog.brunocsmartin.fr\/index.php\/wp-json\/wp\/v2\/media?parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.brunocsmartin.fr\/index.php\/wp-json\/wp\/v2\/categories?post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.brunocsmartin.fr\/index.php\/wp-json\/wp\/v2\/tags?post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}