{"id":702,"date":"2023-12-06T22:13:19","date_gmt":"2023-12-06T22:13:19","guid":{"rendered":"https:\/\/avalon.land\/blog\/?p=702"},"modified":"2023-12-09T18:02:56","modified_gmt":"2023-12-09T18:02:56","slug":"acme","status":"publish","type":"post","link":"https:\/\/avalon.land\/blog\/it\/acme\/","title":{"rendered":"ACME"},"content":{"rendered":"<p style=\"text-align: center;\"><img decoding=\"async\" class=\"size-full wp-image-250\" src=\"\/blog\/wp-content\/uploads\/2023\/12\/acme.webp\" alt=\"2\" \/><\/p>\n<p>\u041f\u043e\u0432\u044b\u0448\u0430\u0435\u043c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u0435\u043a\u0443\u0440\u043d\u043e\u0441\u0442\u0438 \u0432 \u044d\u0442\u0438\u0445 \u0432\u0430\u0448\u0438\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430\u0445 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <strong>acme.sh<\/strong> !<br \/>\n<!--more--><\/p>\n<p>\u0427\u0451\u0442 \u0434\u0430\u0432\u043d\u043e \u043d\u0438\u0445\u0435\u0440\u0430 \u043d\u0435 \u043f\u0438\u0441\u0430\u043b, \u0444\u0430\u043d\u044b \u0437\u0430\u0436\u0434\u0430\u043b\u0438\u0441\u044c (\u0414\u0430 \u043b\u0430\u043d \u0440\u043e\u0444\u043b\u044e, \u043a\u0430\u043a\u0438\u0435 \u0444\u0430\u043d\u044b \u043d\u0430 \u043c\u0451\u0440\u0442\u0432\u043e\u043c \u0441\u0430\u0439\u0442\u0438\u043a\u0435 \u043b\u043e\u043b). \u041a\u043e\u0440\u043e\u0447\u0435, \u0442\u0435\u043c\u0430 \u0442\u0430\u043a\u0430\u044f, \u0440\u0430\u043d\u044c\u0448\u0435 \u044f \u0434\u043b\u044f let&#8217;s encrypt \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b certbot, \u043d\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0438 \u0440\u0435\u0448\u0438\u043b, \u0447\u0442\u043e \u043d\u0430\u0445\u0435\u0440 \u0442\u0430\u0449\u0438\u0442\u044c \u043f\u0438\u0442\u043e\u043d \u0442\u0443\u0434\u0430, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0431\u0430\u0448\u0435\u043c \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b acme.sh , \u0447\u0442\u043e\u0431 \u043d\u0435 \u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043a\u0443\u0447\u043d\u044b\u0435 \u043c\u0430\u043d\u044b \u043c\u043d\u0435 \u0436\u0435 \u0438\u0437 \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e, \u044f \u0438\u0437 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e, \u0441\u0435\u0439\u0447\u0430\u0441, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0432\u0443\u043c\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nwget -O -  https:\/\/raw.githubusercontent.com\/acmesh-official\/acme.sh\/master\/acme.sh | sh -s -- --install-online -m iglov@avalon.land\r\n\/root\/.acme.sh\/acme.sh --install-cert -d avalon.land -d www.avalon.land --reloadcmd &quot;systemctl reload nginx.service&quot;\r\n\r\n<\/pre>\n<p>\u0438 \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 nginx \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nssl_certificate \/root\/.acme.sh\/avalon.land_ecc\/avalon.land.cer;\r\nssl_certificate_key \/root\/.acme.sh\/avalon.land_ecc\/avalon.land.key;\r\nssl_trusted_certificate \/root\/.acme.sh\/avalon.land_ecc\/fullchain.cer;\r\n<\/pre>\n<p>\u0445\u043e\u0442\u044c \u043e\u043d\u0438 \u0442\u0430\u043c \u0443 \u0441\u0435\u0431\u044f \u0438 \u043f\u0438\u0448\u0443\u0442 <\/p>\n<blockquote><p>After the cert is generated, you probably want to install\/copy the cert to your Apache\/Nginx or other servers. You MUST use this command to copy the certs to the target files, DO NOT use the certs files in ~\/.acme.sh\/ folder, they are for internal use only, the folder structure may change in the future.\n<\/p><\/blockquote>\n<p>\u043d\u043e \u043a\u043e\u043c\u0443 \u044d\u0442\u043e \u043d\u0430\u0445\u0435\u0440 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e? \u0422\u0430\u043a\u0438\u0435 \u0434\u0435\u043b\u0430.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u0432\u044b\u0448\u0430\u0435\u043c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u0435\u043a\u0443\u0440\u043d\u043e\u0441\u0442\u0438 \u0432 \u044d\u0442\u0438\u0445 \u0432\u0430\u0448\u0438\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430\u0445 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 acme.sh !<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-702","post","type-post","status-publish","format-standard","hentry","category-it","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/posts\/702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/comments?post=702"}],"version-history":[{"count":15,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/posts\/702\/revisions"}],"predecessor-version":[{"id":736,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/posts\/702\/revisions\/736"}],"wp:attachment":[{"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/media?parent=702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/categories?post=702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/tags?post=702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}