{"id":1321,"date":"2021-06-05T07:07:09","date_gmt":"2021-06-04T22:07:09","guid":{"rendered":"https:\/\/sirius10.net\/blog\/wordpress\/?p=1321"},"modified":"2021-06-05T08:01:43","modified_gmt":"2021-06-04T23:01:43","slug":"post-1321","status":"publish","type":"post","link":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/06\/05\/1321\/","title":{"rendered":"\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u306e\u66f4\u65b0(Let\u2019s Encrypt)"},"content":{"rendered":"\n<p>\u3000\u3053\u306e\u30b5\u30a4\u30c8\u306e\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3057\u305f\u306e\u304c 4 \u6708\u3067\u3059\u3002Let&#8217;s Encrypt \u304b\u3089\u53d6\u5f97\u3057\u305f\u8a3c\u660e\u66f8\u306f 90 \u65e5\u6709\u52b9\u306a\u306e\u3067\u30017 \u6708\u307e\u3067\u4f7f\u3048\u307e\u3059\u304c\u3001cron \u306b\u767b\u9332\u3055\u308c\u305f\u81ea\u52d5\u66f4\u65b0\u3067\u306f\u671f\u9650\u306e 30 \u65e5\u524d\u306b\u66f4\u65b0\u3055\u308c\u308b\u8a2d\u5b9a\u306b\u306a\u3063\u3066\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u3053\u306e\u30b5\u30a4\u30c8\u3067\u306f\u3001\u8a3c\u660e\u66f8\u306e\u53d6\u5f97\u306b certbot \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002certbot \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3068\u304d\u306b\u81ea\u52d5\u66f4\u65b0\u304c cron \u306b\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u3002cron \u306b\u767b\u9332\u3055\u308c\u305f\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5185\u5bb9\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code file\"><code># \/etc\/cron.d\/certbot: crontab entries for the certbot package\n#\n# Upstream recommends attempting renewal twice a day\n#\n# Eventually, this will be an opportunity to validate certificates\n# haven't been revoked, etc.  Renewal will only occur if expiration\n# is within 30 days.\n#\n# Important Note!  This cronjob will NOT be executed if you are\n# running systemd as your init system.  If you are running systemd,\n# the cronjob.timer function takes precedence over this cronjob.  For\n# more details, see the systemd.timer manpage, or use systemctl show\n# certbot.timer.\nSHELL=\/bin\/sh\nPATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin\n\n0 *\/12 * * * root test -x \/usr\/bin\/certbot -a \\! -d \/run\/systemd\/system &amp;&amp; perl \n-e 'sleep int(rand(43200))' &amp;&amp; certbot -q renew\n<\/code><\/pre>\n\n\n\n<p>\u3000Chrome \u3067\u30a2\u30c9\u30ec\u30b9\u6a2a\u306e\u9375\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u8a3c\u660e\u66f8\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u78ba\u8a8d\u3057\u305f\u3089\u3001\u6709\u52b9\u671f\u9650\u306f 9 \u6708\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u7121\u4e8b\u66f4\u65b0\u3067\u304d\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u3061\u306a\u307f\u306b\u65e7\u30b5\u30a4\u30c8 (sirius10.dip.jp) \u306f ieserver.net \u304c\u843d\u3061\u3066\u3044\u308b\u306e\u3067\u66f4\u65b0\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3002\u304a\u305d\u3089\u304f\u5931\u52b9\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\u3002\u3082\u3057\u3001ieserver.net \u304c\u5fa9\u65e7\u3057\u305f\u3089\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u306f\u53d6\u308a\u76f4\u3055\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u95a2\u9023\u8a18\u4e8b<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-sirius-\u306e\u30d6\u30ed\u30b0 wp-block-embed-sirius-\u306e\u30d6\u30ed\u30b0\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"5lCOoZEQrr\"><a href=\"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/03\/12\/188\/\">\u30b5\u30fc\u30d0\u7528Raspberry Pi \u306e\u8a2d\u5b9a8<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u30b5\u30fc\u30d0\u7528Raspberry Pi \u306e\u8a2d\u5b9a8&#8221; &#8212; Sirius \u306e\u30d6\u30ed\u30b0\" src=\"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/03\/12\/188\/embed\/#?secret=zf2x8wnU6n#?secret=5lCOoZEQrr\" data-secret=\"5lCOoZEQrr\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><figcaption>\u8a3c\u660e\u66f8\u306e\u53d6\u5f97<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u3053\u306e\u30b5\u30a4\u30c8\u306e\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3057\u305f\u306e\u304c 4 \u6708\u3067\u3059\u3002Let&#8217;s Encrypt \u304b\u3089\u53d6\u5f97\u3057\u305f\u8a3c\u660e\u66f8\u306f 90 \u65e5\u6709\u52b9\u306a\u306e\u3067\u30017 \u6708\u307e\u3067\u4f7f\u3048\u307e\u3059\u304c\u3001cron \u306b\u767b\u9332\u3055\u308c\u305f\u81ea\u52d5\u66f4\u65b0\u3067\u306f\u671f\u9650\u306e 30 \u65e5\u524d\u306b\u66f4\u65b0\u3055\u308c\u308b\u8a2d\u5b9a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,8],"tags":[],"class_list":["post-1321","post","type-post","status-publish","format-standard","hentry","category-web","category-server-config"],"_links":{"self":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=1321"}],"version-history":[{"count":5,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1321\/revisions"}],"predecessor-version":[{"id":1333,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1321\/revisions\/1333"}],"wp:attachment":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=1321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=1321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=1321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}