{"id":387,"date":"2016-05-09T00:17:27","date_gmt":"2016-05-08T15:17:27","guid":{"rendered":"https:\/\/test.ji0vwl.net\/?p=387"},"modified":"2019-01-12T21:11:35","modified_gmt":"2019-01-12T12:11:35","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-6","status":"publish","type":"post","link":"https:\/\/ji0vwl.net\/index.php\/2016\/05\/09\/387\/","title":{"rendered":"SSL\u8a3c\u660e\u66f8\u3092 Let\u2019s Encrypt \u306b\u4e57\u308a\u63db\u3048\u3088\u3046 (6)"},"content":{"rendered":"<p><a href=\"https:\/\/test.ji0vwl.net\/index.php\/2016\/04\/03\/324\/\">Let&#8217;s Encrypt\u306e\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a\u3092\u6bce\u67081\u65e5\u306b\u3057\u3066<\/a>\u3001\u521d\u3081\u3066\u306e1\u65e5\u304c\u8a2a\u308c\u307e\u3057\u305f\u304c\u3001\u6848\u306e\u5b9a\u5931\u6557\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u3002\u3002<\/p>\n<p>\u5931\u6557\u5185\u5bb9\u3092\u6642\u7cfb\u5217\u306b\u5217\u6319\u3059\u308b\u3068\u3001<\/p>\n<p>\u30fbCentOS 6 \u6a19\u6e96\u306ePython 2.6 \u3060\u3068<a href=\"https:\/\/letsencrypt.jp\/usage\/centos6-error.html#Error1\" target=\"_blank\">Let&#8217;s Encrypt\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f<\/a>\u3002\u3082\u3068\u3082\u3068\u30a8\u30e9\u30fc\u306f\u51fa\u3066\u3044\u305f\u3088\u3046\u3067\u3059\u304c\u3001\u524d\u56de\u306e\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a\u4ee5\u964d\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u304c\u884c\u308f\u308c\u305f\u3063\u307d\u3044\u3002<\/p>\n<p>\u30fb\u3067\u3001Python 2.7\u3092\u5165\u308c\u3066\u307f\u305f\u304c\u3001\u4eca\u5ea6\u306fyum\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u3001\u7d50\u5c40 yum\u306fPython2.6\u3092\u5272\u308a\u5f53\u3066\u305f\u3002yum\u30922.6\u306b\u3057\u3066\u3057\u307e\u3046\u3068\u3001Let&#8217;s Encrypt\u3082yum\u3092\u4f7f\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u610f\u5473\u306a\u3057\u3002<\/p>\n<p>\u30fb<a href=\"https:\/\/letsencrypt.jp\/usage\/centos6-error.html#Solution\" target=\"_blank\">SCL\u3092\u4f7f\u7528\u3057\u305f\u89e3\u6c7a\u65b9\u6cd5\uff08\u4e00\u6642\u7684\u306b\u9055\u3046\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff09\u3092\u5148\u4eba\u304c\u898b\u3064\u3051\u3066\u304f\u308c\u3066\u3044\u305f<\/a>\u306e\u3067\u3042\u308a\u304c\u305f\u304f\u4f7f\u308f\u305b\u3066\u3044\u305f\u3060\u304f\u3068\u3001\u624b\u52d5\u66f4\u65b0\u306fOK\uff01\u3057\u304b\u3057\u3001cron\u3092\u4f7f\u3063\u305f\u81ea\u52d5\u66f4\u65b0\u3067\u306fSCL\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u306f\u305a\u306a\u306e\u306bPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u6a19\u6e96\u3068\u5909\u308f\u3089\u305a\u7d50\u5c40\u5b9f\u884c\u3067\u304d\u306a\u3044\u3002<\/p>\n<p>\u30fb\u3044\u308d\u3044\u308d\u8abf\u3079\u305f\u3089\u3001<a href=\"http:\/\/hideharaaws.hatenablog.com\/entry\/2014\/11\/29\/223040\" target=\"_blank\">SCL\u3092cron\u304b\u3089\u5b9a\u671f\u5b9f\u884c\u3055\u305b\u308b\u3068\u304d\u306f\u66f8\u304d\u65b9\u304c\u9055\u3046<\/a>\u3088\u3046\u3060\u3002<\/p>\n<p>\u30fb\u66f8\u304d\u63db\u3048\u305f\u3089\u3046\u307e\u304f\u52d5\u3044\u305f\u304b\u306e\u3088\u3046\u306b\u898b\u3048\u305f\u304c\u3001\u30c9\u30e1\u30a4\u30f3\u3092\u8907\u6570\u6307\u5b9a\uff08-d ji0vwl.net -d www.ji0vwl.net\u00a0\uff09\u3059\u308b\u3068\u306a\u305c\u304b\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u306e\u3067\u4e00\u3064\uff08-d ji0vwl.net\uff09\u306b\u3057\u3066\u307f\u305f\u3089OK\u3068\u306a\u3063\u305f\uff01<del>\u624b\u52d5\u3060\u30682\u3064\u3044\u3051\u308b\u306e\u3067<a href=\"https:\/\/test.ji0vwl.net\/index.php\/2016\/05\/09\/401\/\">\u7406\u7531<\/a>\u306f\u4e0d\u660e\u3002<\/del>\u51fa\u305f\u30a8\u30e9\u30fc\u306f\u3001There were too many requests of a given type :: Error creating new cert\u30fb\u30fb\u30fb<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3081\u3061\u3083\u304f\u3061\u3083\u306f\u307e\u3063\u3066\u3057\u307e\u3044\u3001\u7d50\u5c40\u89e3\u6c7a\u304cGW\u6700\u7d42\u65e5\u306e\u591c\u4e2d\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u672c\u5f53\u306f\u3001yum\u3092Python2.7\u3067\u52d5\u304b\u305b\u308c\u3070\u5b8c\u74a7\u306a\u306e\u3067\u3059\u304c\u3001\u81ea\u5206\u306e\u30b9\u30ad\u30eb\u304c\u4f4e\u3059\u304e\u3066\u624b\u306b\u8ca0\u3048\u306a\u3044\u305f\u3081\u3001\u4e0d\u672c\u610f\u306a\u304c\u3089\u5c0f\u624b\u5148\u306e\u5bfe\u51e6\u3068\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5bfe\u51e6\uff11\uff1aSCL\u3067\u3001\u4e00\u6642\u7684\u306bPython2.7.5\u3092\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/p>\n<blockquote><p><span style=\"font-family: Courier New;\">$ sudo -i<\/span><\/p>\n<p><span style=\"font-family: Courier New;\"># yum install centos-release-SCL<\/span><\/p>\n<p><span style=\"font-family: Courier New;\">#\u00a0yum install python27 python27-python-tools<\/span><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>\u5bfe\u51e6\uff12\uff1acrontab\u3092\u7de8\u96c6\u3057\u3001SCL\u7d4c\u7531\u3067Let&#8217;s Encrypt\u3092\u5b9f\u884c\u3055\u305b\u308b<\/p>\n<blockquote><p><span style=\"font-family: Courier New;\"># crontab -e<\/span><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<blockquote>\n<div><span style=\"font-family: Courier New;\"># run-parts<\/span><br \/>\n<span style=\"font-family: Courier New;\">#1 4 1 * * \/root\/letsencrypt\/letsencrypt-auto certonly &#8211;renew-by-default &#8211;webroot -w \/var\/www\/html -d ji0vwl.net -d www.ji0vwl.net<\/span><\/div>\n<div><span style=\"font-family: Courier New;\"><strong>1 4 1\u00a0* * scl enable python27 &#8220;\/root\/letsencrypt\/letsencrypt-auto certonly &#8211;renew-by-default &#8211;webroot -w \/var\/www\/html -d ji0vwl.net&#8221;<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New;\">6 4 1 * * service httpd restart<\/span><\/div>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s Encrypt\u306e\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a\u3092\u6bce\u67081\u65e5\u306b\u3057\u3066\u3001\u521d\u3081\u3066\u306e1\u65e5\u304c\u8a2a\u308c\u307e\u3057\u305f\u304c\u3001\u6848\u306e\u5b9a\u5931\u6557\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u3002\u3002 \u5931\u6557\u5185\u5bb9\u3092\u6642\u7cfb\u5217\u306b\u5217\u6319\u3059\u308b\u3068\u3001 \u30fbCentOS 6 \u6a19\u6e96\u306ePython 2.6 \u3060\u3068Let&#038; &hellip; <a href=\"https:\/\/ji0vwl.net\/index.php\/2016\/05\/09\/387\/\" 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 (6)<\/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-387","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\/387","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=387"}],"version-history":[{"count":0,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/posts\/387\/revisions"}],"wp:attachment":[{"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/media?parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/categories?post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/tags?post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}