{"id":276532,"date":"2016-03-20T19:43:02","date_gmt":"2016-03-20T16:43:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=276532"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=276532","title":{"rendered":"Yet another \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044e ssl-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 Let&#8217;s Encrypt"},"content":{"rendered":"<p>       \u0422\u0435\u043c\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 Let&#8217;s Encrypt \u0443\u0436\u0435 \u043f\u043e\u0434\u044b\u043c\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u0445\u0430\u0431\u0440\u0435 (\u0441\u043c. <a href=\"https:\/\/habrahabr.ru\/post\/270273\/\">\u0442\u0443\u0442<\/a>), \u0434\u0430 \u0438 \u0432 \u0441\u0435\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043c\u043d\u043e\u0433\u043e \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u0432 \u0440\u0430\u0437\u043d\u043e\u0433\u043e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430.<\/p>\n<p>  \u0427\u0438\u0442\u0430\u043b \u044f \u0438 \u0443\u0436\u0430\u0441\u0430\u043b\u0441\u044f: <a href=\"https:\/\/hellsman.ru\/admin\/linux\/ustanovka-ssl-sertifikata-ot-letsencrypt-s-nginx-v-centos-7\">\u043e\u0434\u043d\u0438<\/a> \u043f\u0438\u0448\u0443\u0442, \u0447\u0442\u043e \u0442\u043e \u043d\u0443\u0436\u043d\u043e nginx \u0438\u043b\u0438 apache \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c (\u00ab\u043d\u0430 \u043f\u0430\u0440\u0443 \u043c\u0438\u043d\u0443\u0442\u043e\u0447\u0435\u043a \u0432\u0441\u0435\u0433\u043e\u00bb), <a href=\"https:\/\/mihanentalpo.me\/2015\/12\/ssl-%D1%81%D0%B5%D1%80%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%82-lets-encrypt-%D0%BD%D0%B0-nginx\/\">\u0434\u0440\u0443\u0433\u0438\u0435<\/a> \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0444\u0430\u0439\u043b\u044b \u043f\u043e\u0434\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0432 \u043f\u0430\u043f\u043a\u0443 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 (\u0432 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u0439 ssh-\u0441\u0435\u0441\u0441\u0438\u0438), \u0442\u0440\u0435\u0442\u044c\u0438 \u2014 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0432\u0430\u0436\u043d\u043e \u0441\u043e\u0431\u043b\u044e\u0441\u0442\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 Content-type \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0434\u043e\u043c\u0435\u043d\u0430\u2026<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0431\u0435\u0437 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e: \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u043c\u0443\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u043d\u043e \u043d\u0438 \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u043d\u0438 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0434\u043b\u0435\u043d\u0438\u0438 \u2014 \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u043e\u0432. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u043e\u0442 \u0438 \u0432\u0441\u044f \u0446\u0435\u043b\u044c \u043c\u043e\u0435\u0439 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0438: \u044d\u0442\u043e \u043d\u0438 \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0439 \u0441\u0442\u0435\u043f-\u0431\u0430\u0439-\u0441\u0442\u0435\u043f, \u043d\u0438 \u0434\u043b\u0438\u043d\u043d\u0430\u044f \u0442\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u0443\u0435\u0442 Let&#8217;s Excrypt \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0445\u043e\u0434.<\/p>\n<p>  \u0412\u0441\u044f \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0432 \u0434\u0432\u0443\u0445 \u0441\u043b\u043e\u0432\u0430\u0445: \u043f\u0443\u0441\u0442\u044c Let&#8217;s Encrypt \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 9999 \u043f\u043e\u0440\u0442\u0443, \u0430 \u043c\u044b \u0434\u043e\u043f\u0438\u0448\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433 nginx, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u043b \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u044d\u0442\u043e\u0442 \u0431\u0435\u043a\u0435\u043d\u0434. \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u0434\u0435\u0442\u0430\u043b\u0438 \u2014 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442<a name=\"habracut\"><\/a><\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Let&#8217;s Encrypt \u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435:<\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/letsencrypt\/letsencrypt && cd letsencrypt <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043e\u043a \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b (\u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e \u2014 \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u044b letsencrypt-auto (\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e \u0441\u0443\u0442\u0438 \u0435\u0441\u0442\u044c \u043b\u0438\u0448\u044c \u043e\u0431\u0451\u0440\u0442\u043a\u0430 \u0434\u043b\u044f letsencrypt) \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c letsencrypt), \u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u043c\u0435\u043d\u044f, \u043a\u0430\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u0432\u043f\u043e\u043b\u043d\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u2014 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440. <\/p>\n<p>  \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0432\u0441\u0451, \u0447\u0442\u043e \u043e\u0442 \u043d\u0430\u0441 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u2014 \u044d\u0442\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <a href=\"http:\/\/mysubdomain.mydomain.tld\/.well-known\/acme-challenge\/6il4rb2ErDWuBnUsTw_qrJc_tXGNv43p2a4kQQc0CvE\">mysubdomain.mydomain.tld\/.well-known\/acme-challenge\/6il4rb2ErDWuBnUsTw_qrJc_tXGNv43p2a4kQQc0CvE<\/a> \u043e\u0442\u0434\u0430\u0432\u0430\u043b\u0441\u044f \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0441 \u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430\u043c\u0438.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u043b\u043e\u0436\u0438\u043c \u044d\u0442\u0443 \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0430 \u0441\u0430\u043c Let&#8217;s Encrypt: \u043f\u0443\u0441\u0442\u044c \u0441\u0430\u043c \u043f\u043e\u0434\u044b\u043c\u0435\u0442 \u043d\u0430 127.0.0.1:9999 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440, \u0430 \u043c\u044b \u2014 \u043b\u0438\u0448\u044c \u0434\u043e\u043f\u0438\u0448\u0435\u043c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433 nginx \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043d\u0430 \u044d\u0442\u043e\u0442 \u0431\u0435\u043a\u0435\u043d\u0434. \u041d\u0435 \u043d\u0443\u0436\u043d\u043e \u043d\u0438 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043d\u0438\u0447\u0435\u0433\u043e, \u043d\u0438 \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e.<\/p>\n<p>  \u0418\u0442\u0430\u043a. \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0444\u0430\u0439\u043b \/etc\/nginx\/template\/letsencrypt.conf \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0432\u0438\u0434\u0430:<\/p>\n<pre><code class=\"nginx\">location ~ ^\/(.well-known\/acme-challenge\/.*)$ {     proxy_pass http:\/\/127.0.0.1:9999\/$1;     proxy_set_header X-Real-IP $remote_addr;     proxy_set_header Host $http_host;     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } <\/code><\/pre>\n<p>  \u0418 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433-\u0444\u0430\u0439\u043b\u044b \u043d\u0443\u0436\u043d\u044b\u0445 \u043f\u043e\u0434\u0434\u043e\u043c\u0435\u043d\u043e\u0432:<\/p>\n<pre><code class=\"nginx\">     include template\/letsencrypt.conf; <\/code><\/pre>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u044d\u0442\u043e \u0432\u0441\u0451. \u0414\u0430\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043e\u0434\u043d\u0443-\u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u2014 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c Let&#8217;s encrypt:<\/p>\n<pre><code class=\"bash\">letsencrypt-auto --agree-tos --renew-by-default --standalone --standalone-supported-challenges http-01 --http-01-port 9999 --server https:\/\/acme-v01.api.letsencrypt.org\/directory certonly -d mydomain.tld -d www.mydomain.tld -d i1.mydomain.tld -d i2.mydomain.tld <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0441\u0440\u0430\u0437\u0443 \u0434\u043b\u044f \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u043f\u043e\u0434\u0434\u043e\u043c\u0435\u043d\u043e\u0432, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 \u043f\u043e\u0440\u0442\u0443 9999, \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u044c\u0441\u044f \u0441 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u044b\u043c \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435\u043c. (\u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0435-\u043c\u0435\u0439\u043b, \u0447\u0442\u043e\u0431\u044b \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0432\u0445\u043e\u0434\u0438\u0442\u044c \u0438 \u0434\u043e\u0432\u043d\u043e\u0441\u0438\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e: \u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0435\u0439 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438)<\/p>\n<p>  \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043d\u0435\u0447\u0435\u0433\u043e. \u041a\u0430\u043a \u0432\u043d\u0435\u0441\u0442\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433-\u0444\u0430\u0439\u043b nginx \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u0438\u0445 \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0445 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0439.<\/p>\n<p>  \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u2014 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 cron \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u043b\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"bash\">letsencrypt renew &gt;&gt; \/dev\/null 2&gt;&1 <\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u0438 \u0432\u0441\u0451. \u041e\u0442 \u0441\u0435\u0431\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044e, \u0447\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043d\u0435 \u043b\u044e\u0431\u043b\u044e \u0431\u044b\u0442\u044c \u0432 \u043f\u0435\u0440\u0432\u044b\u0445 \u0440\u044f\u0434\u0430\u0445 \u043d\u043e\u0432\u043e\u0439 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 (\u00ab\u043f\u043e\u043a\u0430 \u043d\u0435 \u0432\u044b\u0439\u0434\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441-\u043f\u0430\u043a \u2014 \u043d\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0432\u0438\u043d\u0434\u0443 \u043d\u0430 \u043d\u043e\u0432\u0443\u044e\u00bb), \u043d\u043e \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0432\u0438\u0436\u0443, \u0447\u0442\u043e Let&#8217;s Encrypt \u0443\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0442\u0438\u0445\u043e\u043d\u044c\u043a\u0443 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d.<\/p>\n<p>  PS \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u044b \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u044f \u0432\u0437\u044f\u043b <a href=\"https:\/\/www.kami-no.ru\/?p=94\">\u0441\u0442\u0430\u0442\u044c\u044e<\/a> \u0414\u043c\u0438\u0442\u0440\u0438\u044f \u0438\u0437 \u0435\u0433\u043e \u0431\u043b\u043e\u0433\u0430. \u041d\u0435 \u0437\u043d\u0430\u044e, \u0435\u0441\u0442\u044c \u043b\u0438 \u043e\u043d \u043d\u0430 \u0445\u0430\u0431\u0440\u0435, \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0442 \u043c\u0435\u043d\u044f \u2014 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e.               <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/279695\/\"> https:\/\/habrahabr.ru\/post\/279695\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0422\u0435\u043c\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 Let&#8217;s Encrypt \u0443\u0436\u0435 \u043f\u043e\u0434\u044b\u043c\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u0445\u0430\u0431\u0440\u0435 (\u0441\u043c. <a href=\"https:\/\/habrahabr.ru\/post\/270273\/\">\u0442\u0443\u0442<\/a>), \u0434\u0430 \u0438 \u0432 \u0441\u0435\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043c\u043d\u043e\u0433\u043e \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u0432 \u0440\u0430\u0437\u043d\u043e\u0433\u043e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430.<\/p>\n<p>  \u0427\u0438\u0442\u0430\u043b \u044f \u0438 \u0443\u0436\u0430\u0441\u0430\u043b\u0441\u044f: <a href=\"https:\/\/hellsman.ru\/admin\/linux\/ustanovka-ssl-sertifikata-ot-letsencrypt-s-nginx-v-centos-7\">\u043e\u0434\u043d\u0438<\/a> \u043f\u0438\u0448\u0443\u0442, \u0447\u0442\u043e \u0442\u043e \u043d\u0443\u0436\u043d\u043e nginx \u0438\u043b\u0438 apache \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c (\u00ab\u043d\u0430 \u043f\u0430\u0440\u0443 \u043c\u0438\u043d\u0443\u0442\u043e\u0447\u0435\u043a \u0432\u0441\u0435\u0433\u043e\u00bb), <a href=\"https:\/\/mihanentalpo.me\/2015\/12\/ssl-%D1%81%D0%B5%D1%80%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%82-lets-encrypt-%D0%BD%D0%B0-nginx\/\">\u0434\u0440\u0443\u0433\u0438\u0435<\/a> \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0444\u0430\u0439\u043b\u044b \u043f\u043e\u0434\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0432 \u043f\u0430\u043f\u043a\u0443 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 (\u0432 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u0439 ssh-\u0441\u0435\u0441\u0441\u0438\u0438), \u0442\u0440\u0435\u0442\u044c\u0438 \u2014 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0432\u0430\u0436\u043d\u043e \u0441\u043e\u0431\u043b\u044e\u0441\u0442\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 Content-type \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0434\u043e\u043c\u0435\u043d\u0430\u2026<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0431\u0435\u0437 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e: \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u043c\u0443\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u043d\u043e \u043d\u0438 \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u043d\u0438 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0434\u043b\u0435\u043d\u0438\u0438 \u2014 \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u043e\u0432. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u043e\u0442 \u0438 \u0432\u0441\u044f \u0446\u0435\u043b\u044c \u043c\u043e\u0435\u0439 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0438: \u044d\u0442\u043e \u043d\u0438 \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0439 \u0441\u0442\u0435\u043f-\u0431\u0430\u0439-\u0441\u0442\u0435\u043f, \u043d\u0438 \u0434\u043b\u0438\u043d\u043d\u0430\u044f \u0442\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u0443\u0435\u0442 Let&#8217;s Excrypt \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0445\u043e\u0434.<\/p>\n<p>  \u0412\u0441\u044f \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0432 \u0434\u0432\u0443\u0445 \u0441\u043b\u043e\u0432\u0430\u0445: \u043f\u0443\u0441\u0442\u044c Let&#8217;s Encrypt \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 9999 \u043f\u043e\u0440\u0442\u0443, \u0430 \u043c\u044b \u0434\u043e\u043f\u0438\u0448\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433 nginx, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u043b \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u044d\u0442\u043e\u0442 \u0431\u0435\u043a\u0435\u043d\u0434. \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u0434\u0435\u0442\u0430\u043b\u0438 \u2014 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-276532","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/276532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=276532"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/276532\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=276532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=276532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=276532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}