{"id":426,"date":"2016-05-29T23:38:52","date_gmt":"2016-05-29T14:38:52","guid":{"rendered":"https:\/\/test.ji0vwl.net\/?p=426"},"modified":"2019-01-12T21:09:41","modified_gmt":"2019-01-12T12:09:41","slug":"ssl%e8%a8%bc%e6%98%8e%e6%9b%b8%e3%82%92-lets-encrypt-%e3%81%ab%e4%b9%97%e3%82%8a%e6%8f%9b%e3%81%88%e3%82%88%e3%81%86-9","status":"publish","type":"post","link":"https:\/\/ji0vwl.net\/index.php\/2016\/05\/29\/426\/","title":{"rendered":"SSL\u8a3c\u660e\u66f8\u3092 Let\u2019s Encrypt \u306b\u4e57\u308a\u63db\u3048\u3088\u3046 (9)"},"content":{"rendered":"<p><a href=\"https:\/\/test.ji0vwl.net\/index.php\/2016\/05\/29\/414\/\">certbot\u3078\u306e\u4ed5\u69d8\u5909\u66f4\u3067Web\u30b5\u30fc\u30d0\u30fc\u304c\u52d5\u304b\u306a\u304f\u306a\u308b\u3068\u3044\u3046\u3001\u3068\u3093\u3067\u3082\u306a\u3044\u7f60<\/a>\u306b\u306f\u307e\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u304c\u3001\u4e00\u5fdc\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3088\u3046\u306a\u306e\u3067\u3001crontab\u3092\u7de8\u96c6\u3057\u3066\u3001\u81ea\u52d5\u66f4\u65b0\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u307f\u307e\u3059<strong>\uff08letsencrypt \u2192 certbot \u306b\u66f8\u304d\u63db\u3048\uff09<\/strong>\u30023\u5ea6\u76ee\u306e\u6b63\u76f4\u3068\u306a\u308b\u304b\u30fb\u30fb\u30fb\u3053\u308c\u3067\u7d42\u308f\u3063\u3066\u304f\u308c\u308b\u3068\u3044\u3044\u306e\u3067\u3059\u304c<\/p>\n<pre>$ sudo -i\r\n# crontab -e\r\n<\/pre>\n<pre>SHELL=\/bin\/bash\r\nPATH=\/sbin:\/bin:\/usr\/sbin:\/usr\/bin\r\nMAILTO=\"xxxx@ji0vwl.com\"\r\nHOME=\/\r\n\r\n# run-parts\r\n1 4 1 * * scl enable python27 \"\/root\/<strong>certbot<\/strong>\/<strong>certbot<\/strong>-auto certonly --renew-by-default --webroot -w \/var\/www\/html -d ji0vwl.net\"\r\n6 4 1 * * service httpd restart\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>crontab\u3092\u6570\u5206\u5f8c\u306b\u8d77\u52d5\u3057\u3066\u8a66\u3057\u6253\u3061\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u7121\u4e8b\u52d5\u4f5c\u3057\u307e\u3057\u305f\uff01<\/p>\n<pre>Creating virtual environment...\r\nInstalling Python packages...\r\nInstallation succeeded.\r\nVersion: 1.1-20080819\r\nVersion: 1.1-20080819\r\nIMPORTANT NOTES:\r\n - Congratulations! Your certificate and chain have been saved at\r\n   \/etc\/letsencrypt\/live\/ji0vwl.net-0001\/fullchain.pem. Your cert will\r\n   expire on 2016-08-27. To obtain a new or tweaked version of this\r\n   certificate in the future, simply run certbot-auto again. To\r\n   non-interactively renew *all* of your ceriticates, run\r\n   \"certbot-auto renew\"\r\n - If you like Certbot, please consider supporting our work by:\r\n\r\n   Donating to ISRG \/ Let's Encrypt:   https:\/\/letsencrypt.org\/donate\r\n   Donating to EFF:                    https:\/\/eff.org\/donate-le\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>certbot\u3078\u306e\u4ed5\u69d8\u5909\u66f4\u3067Web\u30b5\u30fc\u30d0\u30fc\u304c\u52d5\u304b\u306a\u304f\u306a\u308b\u3068\u3044\u3046\u3001\u3068\u3093\u3067\u3082\u306a\u3044\u7f60\u306b\u306f\u307e\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u304c\u3001\u4e00\u5fdc\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3088\u3046\u306a\u306e\u3067\u3001crontab\u3092\u7de8\u96c6\u3057\u3066\u3001\u81ea\u52d5\u66f4\u65b0\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u307f\u307e\u3059\uff08letsencryp &hellip; <a href=\"https:\/\/ji0vwl.net\/index.php\/2016\/05\/29\/426\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">SSL\u8a3c\u660e\u66f8\u3092 Let\u2019s Encrypt \u306b\u4e57\u308a\u63db\u3048\u3088\u3046 (9)<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-426","post","type-post","status-publish","format-standard","hentry","category-server"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/posts\/426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/comments?post=426"}],"version-history":[{"count":0,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/posts\/426\/revisions"}],"wp:attachment":[{"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/media?parent=426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/categories?post=426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/tags?post=426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}