{"id":36,"date":"2017-05-09T00:13:37","date_gmt":"2017-05-08T21:13:37","guid":{"rendered":"http:\/\/ottd.one\/?p=36"},"modified":"2017-05-09T00:13:37","modified_gmt":"2017-05-08T21:13:37","slug":"problema-verifikatsii-domena-s-pomoshhyu-certbot-let-s-encrypt","status":"publish","type":"post","link":"https:\/\/ipcalc.co\/blog\/problema-verifikatsii-domena-s-pomoshhyu-certbot-let-s-encrypt\/","title":{"rendered":"\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u0435\u0440\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0434\u043e\u043c\u0435\u043d\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Certbot (Let\u2019s Encrypt)"},"content":{"rendered":"<p><span id=\"result_box\" class=\"\" lang=\"ru\"><span class=\"\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 SSL \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435 &#8211; \u043e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0438\u0434\u0435\u044f.<\/span> \u042d\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 HTTP.\u00a0<\/span><\/p>\n<h3>\u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 SSL<\/h3>\n<p>\u041f\u0435\u0440\u0432\u043e\u0435, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442 Certbot \u0438 \u0441\u043b\u0435\u0434\u0443\u0439\u0442\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0439 \u041e\u0421 \/ \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043d\u0430 \u043f\u043e\u0434\u043e\u0431\u0438\u0438 \u044d\u0442\u043e\u0439, \u0447\u0442\u043e\u0431\u044b \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0448 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442:<\/p>\n<pre class=\"theme:tomorrow-night toolbar:2 striped:false lang:sh decode:true\">\/PATH\/TO\/certbot-auto certonly --webroot -w \/PATH\/TO\/webroot -d YOUR_DOMAIN.com<\/pre>\n<h3>\u00a0\u0421\u0442\u0440\u0430\u0448\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 <img src=\"https:\/\/ipcalc.co\/blog\/wp-content\/themes\/root\/images\/smilies\/smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/h3>\n<p>\u0412\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438 \u044d\u0442\u0443 \u043e\u0448\u0438\u0431\u043a\u0443?<\/p>\n<pre class=\"theme:tomorrow-night top-margin:15 bottom-margin:15 toolbar:2 wrap:true wrap-toggle:false lang:default decode:true\">urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http:\/\/YOUR_DOMAIN.com\/.well-known\/acme-challenge\/ [YOUR_IP]: 404<\/pre>\n<p><span id=\"result_box\" class=\"\" lang=\"ru\"><span class=\"\">\u041d\u0435 \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u0439\u0442\u0435\u0441\u044c, \u044d\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043e \u043e\u0448\u0438\u0431\u043a\u0430, \u0447\u0435\u043c \u0432\u044b \u0434\u0443\u043c\u0430\u0435\u0442\u0435.<\/span><\/span><\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442?<\/h3>\n<p><span id=\"result_box\" class=\"\" lang=\"ru\">Certbot \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0430\u0448 \u0434\u043e\u043c\u0435\u043d. \u041e\u043d \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043f\u0430\u043f\u043a\u0443 \u0432\u043d\u0443\u0442\u0440\u0438 \u0432\u0430\u0448\u0435\u0433\u043e webroot \u043f\u0430\u043f\u043a\u0438 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <strong>.well-known<\/strong>. Certbot \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f <code>YOUR_DOMAIN.com\/.well-known\/acme-challenge<\/code>. <span class=\"\">\u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u043e\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f Nginx.<\/span><br \/>\n<\/span><\/p>\n<h3>\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443<\/h3>\n<p>\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0432\u0430\u0448\u0435\u0433\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 Nginx: <code>\/etc\/nginx\/conf.d\/YOUR_DOMAIN.com.conf<\/code><\/p>\n<p><strong>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/strong><\/p>\n<pre class=\"theme:tomorrow-night toolbar:2 lang:default decode:true\">location ~ \/.well-known {\n    default_type \"text\/plain\";\n    root \/PATH\/TO\/webroot;\n}<\/pre>\n<p>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 <code>nginx -t<\/code> \u0447\u0442\u043e\u0431\u044b \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432\u0430\u0448 \u043a\u043e\u043d\u0444\u0438\u0433 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u0434\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 <code>nginx sudo service nginx restart<\/code>. \u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430 nginx, \u0441\u043d\u043e\u0432\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 certbot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 SSL \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435 &#8211; \u043e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0438\u0434\u0435\u044f. \u042d\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 HTTP.\u00a0 \u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 SSL \u041f\u0435\u0440\u0432\u043e\u0435, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442 Certbot&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[11,15,16],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u0435\u0440\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0434\u043e\u043c\u0435\u043d\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Certbot (Let\u2019s Encrypt) - IPCalc Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ipcalc.co\/blog\/problema-verifikatsii-domena-s-pomoshhyu-certbot-let-s-encrypt\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u0435\u0440\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0434\u043e\u043c\u0435\u043d\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Certbot (Let\u2019s Encrypt) - IPCalc Blog\" \/>\n<meta property=\"og:description\" content=\"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 SSL \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435 &#8211; \u043e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0438\u0434\u0435\u044f. \u042d\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 HTTP.\u00a0 \u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 SSL \u041f\u0435\u0440\u0432\u043e\u0435, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442 Certbot...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ipcalc.co\/blog\/problema-verifikatsii-domena-s-pomoshhyu-certbot-let-s-encrypt\/\" \/>\n<meta property=\"og:site_name\" content=\"IPCalc Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-08T21:13:37+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\">\n\t<meta name=\"twitter:data2\" content=\"0 \u043c\u0438\u043d\u0443\u0442\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ipcalc.co\/blog\/#website\",\"url\":\"https:\/\/ipcalc.co\/blog\/\",\"name\":\"IPCalc Blog\",\"description\":\"\\u041f\\u043e\\u043b\\u0437\\u0435\\u043d\\u044b\\u0435 \\u0441\\u043a\\u0440\\u0438\\u043f\\u0442\\u044b, \\u043a\\u043e\\u043d\\u0444\\u0438\\u0433\\u0438 \\u0438 \\u043c\\u043d\\u043e\\u0433\\u043e\\u0435 \\u0434\\u0440\\u0443\\u0433\\u043e\\u0435\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ipcalc.co\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ipcalc.co\/blog\/problema-verifikatsii-domena-s-pomoshhyu-certbot-let-s-encrypt\/#webpage\",\"url\":\"https:\/\/ipcalc.co\/blog\/problema-verifikatsii-domena-s-pomoshhyu-certbot-let-s-encrypt\/\",\"name\":\"\\u041f\\u0440\\u043e\\u0431\\u043b\\u0435\\u043c\\u0430 \\u0432\\u0435\\u0440\\u0438\\u0444\\u0438\\u043a\\u0430\\u0446\\u0438\\u0438 \\u0434\\u043e\\u043c\\u0435\\u043d\\u0430 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e Certbot (Let\\u2019s Encrypt) - IPCalc Blog\",\"isPartOf\":{\"@id\":\"https:\/\/ipcalc.co\/blog\/#website\"},\"datePublished\":\"2017-05-08T21:13:37+00:00\",\"dateModified\":\"2017-05-08T21:13:37+00:00\",\"author\":{\"@id\":\"https:\/\/ipcalc.co\/blog\/#\/schema\/person\/995e074baefb3871a51b718fd5de412a\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ipcalc.co\/blog\/problema-verifikatsii-domena-s-pomoshhyu-certbot-let-s-encrypt\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ipcalc.co\/blog\/#\/schema\/person\/995e074baefb3871a51b718fd5de412a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ipcalc.co\/blog\/#personlogo\",\"inLanguage\":\"ru-RU\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/937f7cf83eb4581f64861b93fe484e16?s=96&d=mm&r=g\",\"caption\":\"admin\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/ipcalc.co\/blog\/wp-json\/wp\/v2\/posts\/36"}],"collection":[{"href":"https:\/\/ipcalc.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ipcalc.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ipcalc.co\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ipcalc.co\/blog\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":0,"href":"https:\/\/ipcalc.co\/blog\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"wp:attachment":[{"href":"https:\/\/ipcalc.co\/blog\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ipcalc.co\/blog\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ipcalc.co\/blog\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}