{"id":4624,"date":"2019-12-11T08:38:33","date_gmt":"2019-12-10T23:38:33","guid":{"rendered":"https:\/\/kumapress.com\/?p=4624"},"modified":"2019-12-11T08:38:36","modified_gmt":"2019-12-10T23:38:36","slug":"letsencrypt%e3%81%ae%e8%87%aa%e5%8b%95%e6%9b%b4%e6%96%b0%e3%81%8c%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ab%e3%81%aa%e3%82%8b","status":"publish","type":"post","link":"https:\/\/kumapress.com\/?p=4624","title":{"rendered":"Let&#8217;sEncrypt\u306e\u81ea\u52d5\u66f4\u65b0\u304c\u30a8\u30e9\u30fc\u306b\u306a\u308b"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u73fe\u8c61<\/h2>\n\n\n<p><span style=\"font-size: 14pt;\">\u66f4\u65b0\u3067\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u3067\u30b9\u30c8\u30c3\u30d7<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">To fix these errors, please make sure that your domain name wasentered correctly and the DNS A\/AAAA record(s) for that domain\u3000contain(s) the right IP address.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u7ffb\u8a33\u3057\u3066\u307f\u308b\u3068\u3001<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3053\u308c\u3089\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u306b\u306f\u3001\u30c9\u30e1\u30a4\u30f3\u540d\u304c\u6b63\u3057\u304f\u5165\u529b\u3055\u308c\u3001\u305d\u306e\u30c9\u30e1\u30a4\u30f3\u306eDNS A \/ AAAA\u30ec\u30b3\u30fc\u30c9\u306b\u6b63\u3057\u3044IP\u30a2\u30c9\u30ec\u30b9\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u306a\u3093\u3060\u306a\u3093\u3060\uff1f\uff1f\uff1f<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u30b5\u30a4\u30c8\u306b\u306f\u666e\u901a\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u3066\u308b\u3057\u3001\u306a\u3093\u3060\u308d\u306d\u3002\u3002\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\/public_html\/.well-known\/acme-challenge\/\u304c\u306a\u3093\u3061\u3083\u3089\u3002\u3002\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">.well-known \u306f\u3001\u81ea\u52d5\u3067\u4f5c\u3089\u308c\u308b\u6a21\u69d8\u3002<\/span><\/p>\n\n\n<h2 class=\"wp-block-heading\">\u539f\u56e0<\/h2>\n\n\n<p><span style=\"font-size: 14pt;\">nginx\u306e\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u3067 http \u2192 https \u3078\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u3057\u3066\u305f\u306e\u304c\u539f\u56e0\u3067\u3057\u305f\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">http \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304d\u3066\u3082\u3001\u3059\u3079\u3066 https \u3078\u8ee2\u9001\u3057\u305f\u304f\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/span><\/p>\n\n\n<h2 class=\"wp-block-heading\">\u89e3\u6c7a<\/h2>\n\n\n<p><span style=\"font-size: 14pt;\">\u624b\u3063\u53d6\u308a\u65e9\u3044\u306e\u306f https \u3078\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u5916\u3059\u3053\u3068\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3067\u3082\u3001\u305f\u3060\u306f\u305a\u3059\u3060\u3051\u3060\u3068\u3001\u672c\u6765\u306e\u76ee\u7684\u3060\u3063\u305f http \u306b\u6765\u305f\u4eba\u3092 https \u3078\u8a98\u5c0e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u3061\u3083\u3046\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3055\u3066\u3063\u3066\u306a\u3084\u3093\u3067\u305f\u3068\u3053\u308d\u3001\u4e0b\u8a18\u306e\u8a18\u4e8b\u306b\u906d\u9047\uff01\uff01<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><a href=\"https:\/\/qiita.com\/exp\/items\/08e39b1dc779898908c5\" target=\"_blank\" rel=\"noopener noreferrer\">Let&#8217;s Encrypt\u306e\u81ea\u52d5\u66f4\u65b0\u3068\u901a\u5e38\u306e\u30a2\u30af\u30bb\u30b9\u306b\u5bfe\u3059\u308b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u4e21\u7acb\u3059\u308b(nginx)<\/a><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\/public_html\/.well-known\/acme-challenge\/\u3078\u306e\u30a2\u30af\u30bb\u30b9\u304c\u6765\u305f\u3068\u304d\u306f\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u305b\u306a\u3044\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u8a00\u308f\u308c\u3066\u307f\u308c\u3070(^^;<\/span><\/p>\n\n\n<pre class=\"wp-block-code\"><code>server {\n    listen 80;\n    server_name example.com;\n    location ^~ \/.well-known\/acme-challenge\/ {\n        default_type    \"text\/plain\";\n        root            \/opt\/example.com\/public_html;\n    }\n    location \/ {\n        return 301 https:\/\/$host$request_uri;\n    }\n}<\/code><\/pre>\n\n\n<p><span style=\"font-size: 14pt;\">\u3053\u306e\u3042\u3068\u3001<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"># systemctl restart nginx<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3067Nginx\u3092\u518d\u8d77\u52d5\u3057\u3066\u3001certbot\u3092\u6d41\u3057\u3066\u3001\u52d5\u4f5c\u78ba\u8a8d\u3092\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Google\u3055\u3093\u304b\u3089\u8a00\u308f\u308c\u3066\u3001\u307b\u307cSSL\u306e\u307f\u306e\u904b\u7528\u306b\u306a\u3063\u3066\u308b\u3093\u3067\u3001\u3053\u3093\u306a\u3075\u3046\u306b http \u304c\u5fc5\u8981\u306a\u3068\u304d\u3063\u3066\u3001\u614c\u3066\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u8a00\u308f\u308c\u308c\u3070\u6c17\u304c\u3064\u304f\u3093\u3067\u304c\u3001\u305d\u308c\u307e\u3067\u306f\u60a9\u307f\u307e\u304f\u308b\u3063\u3066\u306e\u304c\u591a\u3044\u3067\u3059(^^;<\/span><\/p>\n\n<aside class=\"row veu_insertAds after\"><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 2\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"5379270693\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 1\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"7353370294\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><\/aside>","protected":false},"excerpt":{"rendered":"<p>\u73fe\u8c61 \u66f4\u65b0\u3067\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u3067\u30b9\u30c8\u30c3\u30d7 To fix these errors, please make sure that your domain name wasentered correctly and the DNS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[126,1],"tags":[41,55],"class_list":["post-4624","post","type-post","status-publish","format-standard","hentry","category-blog-memo","category-1","tag-nginx","tag-ssl"],"_links":{"self":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/4624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4624"}],"version-history":[{"count":2,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/4624\/revisions"}],"predecessor-version":[{"id":4626,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/4624\/revisions\/4626"}],"wp:attachment":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}