{"id":271,"date":"2023-04-30T22:49:56","date_gmt":"2023-04-30T18:49:56","guid":{"rendered":"https:\/\/radioteh.ru\/?p=271"},"modified":"2023-04-30T22:49:57","modified_gmt":"2023-04-30T18:49:57","slug":"strongswan-letsencrypt-%d1%87%d1%82%d0%be-%d0%b4%d0%b5%d0%bb%d0%b0%d1%82%d1%8c-%d0%b5%d1%81%d0%bb%d0%b8-%d0%bd%d0%b5-%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0%d0%b5%d1%82","status":"publish","type":"post","link":"https:\/\/radioteh.ru\/?p=271","title":{"rendered":"Strongswan + Let&#8217;sEncrypt. \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0441\u043b\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442"},"content":{"rendered":"\n<p>\u0421 Debian 10 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0435\u0439 Ubuntu strongswan \u0437\u0430\u043a\u0440\u044b\u0442 \u0430\u043f\u043f\u0430\u0440\u043c\u043e\u0440\u043e\u043c, \u0447\u0435\u0440\u0435\u0437 \u044d\u0442\u043e \u0432\u0441\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0442\u0438\u043f\u0430 &#171;\u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0432 \/etc\/letsencrypt\/live\/yourdomainnamehere&#187; \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n\n\n\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0442\u043e\u0432\u0441\u043a\u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0435, \u0445\u043e\u0442\u044c \u0438 \u043d\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e\u0435. \u041d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \/etc\/apparmor.d\/local\/usr.lib.ipsec.charon \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438:<\/p>\n\n\n\n<p><code>\/etc\/letsencrypt\/live\/yourdomainnamehere\/* r,<br>\/etc\/letsencrypt\/archive\/yourdomainnamehere\/* r,<\/code><\/p>\n\n\n\n<p>\u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c apparmor \u0438 strongswan<\/p>\n\n\n\n<p><code>systemctl restart apparmor<\/code><br><code>systemctl restart ipsec<\/code><\/p>\n\n\n\n<p>\u0418 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b Let&#8217;sEncrypt \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421 Debian 10 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0435\u0439 Ubuntu strongswan \u0437\u0430\u043a\u0440\u044b\u0442 \u0430\u043f\u043f\u0430\u0440\u043c\u043e\u0440\u043e\u043c, \u0447\u0435\u0440\u0435\u0437 \u044d\u0442\u043e \u0432\u0441\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0442\u0438\u043f\u0430 &#171;\u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0432 \/etc\/letsencrypt\/live\/yourdomainnamehere&#187; \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0442\u043e\u0432\u0441\u043a\u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0435, \u0445\u043e\u0442\u044c \u0438 \u043d\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e\u0435. \u041d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \/etc\/apparmor.d\/local\/usr.lib.ipsec.charon \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438: \/etc\/letsencrypt\/live\/yourdomainnamehere\/* r,\/etc\/letsencrypt\/archive\/yourdomainnamehere\/* r, \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c apparmor \u0438 strongswan systemctl restart apparmorsystemctl restart ipsec \u0418 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b &hellip; <a href=\"https:\/\/radioteh.ru\/?p=271\" class=\"more-link\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"screen-reader-text\">Strongswan + Let&#8217;sEncrypt. \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0441\u043b\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8],"tags":[44,42,6],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-8","tag-debian","tag-ikev2","tag-linux"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/radioteh.ru\/index.php?rest_route=\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/radioteh.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/radioteh.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/radioteh.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/radioteh.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=271"}],"version-history":[{"count":1,"href":"https:\/\/radioteh.ru\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":272,"href":"https:\/\/radioteh.ru\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions\/272"}],"wp:attachment":[{"href":"https:\/\/radioteh.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/radioteh.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/radioteh.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}