{"id":33667,"date":"2019-10-31T21:54:04","date_gmt":"2019-10-31T18:54:04","guid":{"rendered":"https:\/\/prohoster.info\/blog\/avtomatizatsiya-upravleniya-lets-encrypt-ssl-sertifikatami-ispolzuya-dns-01-challenge-i-aws\/"},"modified":"2019-10-31T21:54:04","modified_gmt":"2019-10-31T18:54:04","slug":"avtomatizatsiya-upravleniya-lets-encrypt-ssl-sertifikatami-ispolzuya-dns-01-challenge-i-aws","status":"publish","type":"post","link":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/avtomatizatsiya-upravleniya-lets-encrypt-ssl-sertifikatami-ispolzuya-dns-01-challenge-i-aws","title":{"rendered":"Automatisierung der Verwaltung von Let&#8217;s Encrypt SSL-Zertifikaten mithilfe von DNS-01-Challenges und AWS","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u041f\u043e\u0441\u0442 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0448\u0430\u0433\u0438 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u043e\u0442 <strong><noindex><a rel=\"nofollow\" href=\"https:\/\/letsencrypt.org\/\">Let&#8217;s Encrypt CA<\/a><\/noindex><\/strong> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <em><noindex><a rel=\"nofollow\" href=\"https:\/\/letsencrypt.org\/docs\/challenge-types\/\">DNS-01 challenge<\/a><\/noindex><\/em> \u0438 <em>AWS<\/em>.<\/p>\n<p><\/p>\n<p><strong><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/begmaroman\/acme-dns-route53\">acme-dns-route53<\/a><\/noindex><\/strong> \u2014 \u044d\u0442\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043d\u0430\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0444\u0438\u0447\u0443. \u041e\u043d \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u043e\u0442 Let&#8217;s Encrypt, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0445 \u0432 Amazon Certificate Manager, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Route53 API \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 DNS-01 challenge, \u0438, \u0432 \u043a\u043e\u043d\u0446\u0435, \u043f\u0443\u0448\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0432 SNS. \u0412 <em>acme-dns-route53<\/em> \u0442\u0430\u043a \u0436\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 built-in \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 AWS Lambda, \u0438 \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e. <\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0440\u0430\u0437\u0431\u0438\u0442\u0430 \u043d\u0430 4 \u0440\u0430\u0437\u0434\u0435\u043b\u0430:<\/p>\n<p><\/p>\n<ul>\n<li>\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 zip \u0444\u0430\u0439\u043b\u0430;<\/li>\n<li>\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 IAM \u0440\u043e\u043b\u0438;<\/li>\n<li>\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043b\u044f\u043c\u0431\u0434\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 <em>acme-dns-route53<\/em>;<\/li>\n<li>\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 CloudWatch \u0442\u0430\u0439\u043c\u0435\u0440\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0438\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044e 2 \u0440\u0430\u0437\u0430 \u0432 \u0434\u0435\u043d\u044c;<\/li>\n<\/ul>\n<p><\/p>\n<p><em><strong>Note:<\/strong> \u043f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/golang.org\/doc\/install\">GoLang 1.9+<\/a><\/noindex> \u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-chap-install.html\">AWS CLI<\/a><\/noindex><\/em><\/p>\n<p><\/p>\n<h3 id=\"sozdanie-zip-fayla\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 zip \u0444\u0430\u0439\u043b\u0430<\/h3>\n<p><\/p>\n<p><em>acme-dns-route53 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 GoLang \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0435 \u043d\u0438\u0436\u0435 1.9.<\/em><\/p>\n<p><\/p>\n<p>\u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c zip \u0444\u0430\u0439\u043b \u0441 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u043e\u043c <code>acme-dns-route53<\/code> \u0432\u043d\u0443\u0442\u0440\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <code>acme-dns-route53<\/code> \u0438\u0437 GitHub \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <code>go install<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ env GOOS=linux GOARCH=amd64 go install github.com\/begmaroman\/acme-dns-route53<\/code><\/pre>\n<p><\/p>\n<p>\u0411\u0438\u043d\u0430\u0440\u043d\u0438\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0432 <code>$GOPATH\/bin<\/code> \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043c\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0434\u0432\u0435 \u043f\u0435\u0440\u0435\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u044f: <code>GOOS=linux<\/code> \u0438 <code>GOARCH=amd64<\/code>. \u041e\u043d\u0438 \u0434\u0430\u044e\u0442 \u043f\u043e\u043d\u044f\u0442\u044c Go \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0443 \u043e\u0431 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u0434\u043b\u044f Linux OS \u0438 amd64 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u2014 \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0432 AWS.<br \/>\nAWS \u043f\u0435\u0440\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442 \u0434\u0435\u043f\u043b\u043e\u0439 \u043d\u0430\u0448\u0435\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432 zip \u0444\u0430\u0439\u043b\u0435, \u0442\u0430\u043a \u0447\u0442\u043e \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c <code>acme-dns-route53.zip<\/code> \u0430\u0440\u0445\u0438\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ zip -j ~\/acme-dns-route53.zip $GOPATH\/bin\/acme-dns-route53<\/code><\/pre>\n<p><\/p>\n<p><em><strong>Note:<\/strong> \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 \u043a\u043e\u0440\u043d\u0435 zip \u0430\u0440\u0445\u0438\u0432\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c <code>-j<\/code> \u0444\u043b\u0430\u0433.<\/em><\/p>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448 zip-\u043d\u0438\u043a \u0433\u043e\u0442\u043e\u0432 \u043a \u0434\u0435\u043f\u043b\u043e\u044e, \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0440\u043e\u043b\u044c \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u043f\u0440\u0430\u0432\u0430\u043c\u0438.<\/p>\n<p><\/p>\n<h3 id=\"sozdanie-iam-roli\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 IAM \u0440\u043e\u043b\u0438<\/h3>\n<p><\/p>\n<p>\u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0441\u0435\u0442\u0430\u043f\u0438\u0442\u044c IAM \u0440\u043e\u043b\u044c \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u043d\u0430\u0448\u0435\u0439 \u043b\u044f\u043c\u0431\u0434\u0435 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<br \/>\n\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0437\u043e\u0432\u0435\u043c \u044d\u0442\u0443 policy <code>lambda-acme-dns-route53-executor<\/code> \u0438 \u0441\u0440\u0430\u0437\u0443 \u0434\u0430\u0434\u0438\u043c \u0435\u0439 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0440\u043e\u043b\u044c <code>AWSLambdaBasicExecutionRole<\/code>. \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043d\u0430\u0448\u0435\u0439 \u043b\u044f\u043c\u0431\u0434\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c\u0441\u044f \u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u043b\u043e\u0433\u0438 \u0432 AWS CloudWatch \u0441\u0435\u0440\u0432\u0438\u0441.<br \/>\n\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0435\u043c JSON \u0444\u0430\u0439\u043b \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430\u0448\u0438 \u043f\u0440\u0430\u0432\u0430. \u042d\u0442\u043e, \u043f\u043e \u0441\u0443\u0442\u0438, \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442 \u043b\u044f\u043c\u0431\u0434\u0430-\u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u043e\u043b\u044c <code>lambda-acme-dns-route53-executor<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ touch ~\/lambda-acme-dns-route53-executor-policy.json<\/code><\/pre>\n<p><\/p>\n<p>\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<p><\/p>\n<pre><code class=\"json\">{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"logs:CreateLogGroup\"\n            ],\n            \"Resource\": \"arn:aws:logs:&lt;AWS_REGION&gt;:&lt;AWS_ACCOUNT_ID&gt;:*\"\n        },\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"logs:PutLogEvents\",\n                \"logs:CreateLogStream\"\n            ],\n            \"Resource\": \"arn:aws:logs:&lt;AWS_REGION&gt;:&lt;AWS_ACCOUNT_ID&gt;:log-group:\/aws\/lambda\/acme-dns-route53:*\"\n        },\n        {\n            \"Sid\": \"\",\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"route53:ListHostedZones\",\n                \"cloudwatch:PutMetricData\",\n                \"acm:ImportCertificate\",\n                \"acm:ListCertificates\"\n            ],\n            \"Resource\": \"*\"\n        },\n        {\n            \"Sid\": \"\",\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"sns:Publish\",\n                \"route53:GetChange\",\n                \"route53:ChangeResourceRecordSets\",\n                \"acm:ImportCertificate\",\n                \"acm:DescribeCertificate\"\n            ],\n            \"Resource\": [\n                \"arn:aws:sns:${var.region}:&lt;AWS_ACCOUNT_ID&gt;:&lt;TOPIC_NAME&gt;\",\n                \"arn:aws:route53:::hostedzone\/*\",\n                \"arn:aws:route53:::change\/*\",\n                \"arn:aws:acm:&lt;AWS_REGION&gt;:&lt;AWS_ACCOUNT_ID&gt;:certificate\/*\"\n            ]\n        }\n    ]\n}<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <code>aws iam create-role<\/code> \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u043e\u043b\u0438:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ aws iam create-role --role-name lambda-acme-dns-route53-executor \n --assume-role-policy-document ~\/lambda-acme-dns-route53-executor-policy.json<\/code><\/pre>\n<p><\/p>\n<p><em><strong>Note:<\/strong> \u0437\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u0435 policy ARN (Amazon Resource Name) \u2014 \u043e\u043d \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u044d\u0442\u0430\u043f\u0430\u0445.<\/em><\/p>\n<p><\/p>\n<p>\u0420\u043e\u043b\u044c <code>lambda-acme-dns-route53-executor<\/code> \u0441\u043e\u0437\u0434\u0430\u043d\u0430, \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043d\u0435\u0435. \u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <code>aws iam attach-role-policy<\/code>, \u043f\u0435\u0440\u0435\u0434\u0430\u0432 policy ARN <code>AWSLambdaBasicExecutionRole<\/code> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ aws iam attach-role-policy --role-name lambda-acme-dns-route53-executor \n--policy-arn arn:aws:iam::aws:policy\/service-role\/AWSLambdaBasicExecutionRole<\/code><\/pre>\n<p><\/p>\n<p><em><strong>Note:<\/strong> \u0441\u043f\u0438\u0441\u043e\u043a \u0441 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.aws.amazon.com\/lambda\/latest\/dg\/lambda-permissions.html#lambda-intro-execution-role\">\u0437\u0434\u0435\u0441\u044c<\/a><\/noindex>.<\/em><\/p>\n<p><\/p>\n<h3 id=\"sozdanie-lyambda-funkcii-kotoraya-zapuskaet-acme-dns-route53\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043b\u044f\u043c\u0431\u0434\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 <em>acme-dns-route53<\/em><\/h3>\n<p><\/p>\n<p>\u0423\u0440\u0430! \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0438 \u0437\u0430\u0434\u0435\u043f\u043b\u043e\u0438\u0442\u044c \u043d\u0430\u0448\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043d\u0430 AWS \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b <code>aws lambda create-function<\/code>. \u041b\u044f\u043c\u0431\u0434\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f:<\/p>\n<p><\/p>\n<ul>\n<li><code>AWS_LAMBDA<\/code> \u2014 \u0434\u0430\u0435\u0442 \u043f\u043e\u043d\u044f\u0442\u044c <em>acme-dns-route53<\/em> \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0438 AWS Lambda.<\/li>\n<li><code>DOMAINS<\/code> \u2014 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u043c\u0435\u043d\u043e\u0432, \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u044f\u0442\u044b\u043c\u0438.<\/li>\n<li><code>LETSENCRYPT_EMAIL<\/code> \u2014 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 <noindex><a rel=\"nofollow\" href=\"https:\/\/letsencrypt.org\/docs\/expiration-emails\/\">Let\u2019s Encrypt Email<\/a><\/noindex>.<\/li>\n<li><code>NOTIFICATION_TOPIC<\/code> \u2014 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 SNS Notification Topic (\u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e).<\/li>\n<li><code>STAGING<\/code> \u2014 \u043f\u0440\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0438 <code>1<\/code> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f staging environment.<\/li>\n<li><code>1024<\/code> MB \u2014 \u043b\u0438\u043c\u0438\u0442 \u043f\u0430\u043c\u044f\u0442\u0438, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d. <\/li>\n<li><code>900<\/code> secs (15 min) \u2014 \u0442\u0430\u0439\u043c\u0430\u0443\u0442.<\/li>\n<li><code>acme-dns-route53<\/code> \u2014 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043b\u0435\u0436\u0438\u0442 \u0432 \u0430\u0440\u0445\u0438\u0432\u0435.<\/li>\n<li><code>fileb:\/\/~\/acme-dns-route53.zip<\/code> \u2014 \u043f\u0443\u0442\u044c \u043a \u0430\u0440\u0445\u0438\u0432\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438.<\/li>\n<\/ul>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0435\u043f\u043b\u043e\u0438\u043c:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ aws lambda create-function \n --function-name acme-dns-route53 \n --runtime go1.x \n --role arn:aws:iam::&lt;AWS_ACCOUNT_ID&gt;:role\/lambda-acme-dns-route53-executor \n --environment Variables=\"{AWS_LAMBDA=1,DOMAINS=\"example1.com,example2.com\",LETSENCRYPT_EMAIL=begmaroman@gmail.com,STAGING=0,NOTIFICATION_TOPIC=acme-dns-route53-obtained}\" \n --memory-size 1024 \n --timeout 900 \n --handler acme-dns-route53 \n --zip-file fileb:\/\/~\/acme-dns-route53.zip\n\n {\n     \"FunctionName\": \"acme-dns-route53\", \n     \"LastModified\": \"2019-05-03T19:07:09.325+0000\", \n     \"RevisionId\": \"e3fadec9-2180-4bff-bb9a-999b1b71a558\", \n     \"MemorySize\": 1024, \n     \"Environment\": {\n         \"Variables\": {\n            \"DOMAINS\": \"example1.com,example2.com\", \n            \"STAGING\": \"1\", \n            \"LETSENCRYPT_EMAIL\": \"your@email.com\", \n            \"NOTIFICATION_TOPIC\": \"acme-dns-route53-obtained\", \n            \"AWS_LAMBDA\": \"1\"\n         }\n     }, \n     \"Version\": \"$LATEST\", \n     \"Role\": \"arn:aws:iam::&lt;AWS_ACCOUNT_ID&gt;:role\/lambda-acme-dns-route53-executor\", \n     \"Timeout\": 900, \n     \"Runtime\": \"go1.x\", \n     \"TracingConfig\": {\n         \"Mode\": \"PassThrough\"\n     }, \n     \"CodeSha256\": \"+2KgE5mh5LGaOsni36pdmPP9O35wgZ6TbddspyaIXXw=\", \n     \"Description\": \"\", \n     \"CodeSize\": 8456317,\n\"FunctionArn\": \"arn:aws:lambda:us-east-1:&lt;AWS_ACCOUNT_ID&gt;:function:acme-dns-route53\", \n     \"Handler\": \"acme-dns-route53\"\n }<\/code><\/pre>\n<p><\/p>\n<h3 id=\"sozdanie-cloudwatch-taymera-kotoryy-triggerit-funkciyu-2-raza-v-den\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 CloudWatch \u0442\u0430\u0439\u043c\u0435\u0440\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0438\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044e 2 \u0440\u0430\u0437\u0430 \u0432 \u0434\u0435\u043d\u044c<\/h3>\n<p><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0448\u0430\u0433 \u2014 \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u0440\u043e\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430\u0448\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u0432\u0430\u0436\u0434\u044b \u0432 \u0434\u0435\u043d\u044c:<\/p>\n<p><\/p>\n<ul>\n<li>\u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u043e CloudWatch \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c <code>schedule_expression<\/code>.<\/li>\n<li>\u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0446\u0435\u043b\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 (\u0447\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f), \u0443\u043a\u0430\u0437\u0430\u0432 ARN \u043b\u044f\u043c\u0431\u0434\u0430-\u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/li>\n<li>\u0434\u0430\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0443 \u0432\u044b\u0437\u043e\u0432 \u043b\u044f\u043c\u0431\u0434\u0430-\u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/li>\n<\/ul>\n<p><\/p>\n<p>\u041d\u0438\u0436\u0435 \u044f \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u0438\u043b \u0441\u0432\u043e\u0439 Terraform \u043a\u043e\u043d\u0444\u0438\u0433, \u043d\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e AWS \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438\u043b\u0438 AWS CLI.<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\"># Cloudwatch event rule that runs acme-dns-route53 lambda every 12 hours\nresource \"aws_cloudwatch_event_rule\" \"acme_dns_route53_sheduler\" {\n  name                = \"acme-dns-route53-issuer-scheduler\"\n  schedule_expression = \"cron(0 *\/12 * * ? *)\"\n}\n\n# Specify the lambda function to run\nresource \"aws_cloudwatch_event_target\" \"acme_dns_route53_sheduler_target\" {\n  rule = \"${aws_cloudwatch_event_rule.acme_dns_route53_sheduler.name}\"\n  arn  = \"${aws_lambda_function.acme_dns_route53.arn}\"\n}\n\n# Give CloudWatch permission to invoke the function\nresource \"aws_lambda_permission\" \"permission\" {\n  action        = \"lambda:InvokeFunction\"\n  function_name = \"${aws_lambda_function.acme_dns_route53.function_name}\"\n  principal     = \"events.amazonaws.com\"\n  source_arn    = \"${aws_cloudwatch_event_rule.acme_dns_route53_sheduler.arn}\"\n}<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0438 \u0443 \u0432\u0430\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432<\/p>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/451848\/\">habr.com<\/a><\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u0442 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0448\u0430\u0433\u0438 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u043e\u0442 Let&#8217;s Encrypt CA \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f DNS-01 challenge \u0438 AWS. acme-dns-route53 \u2014 \u044d\u0442\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043d\u0430\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0444\u0438\u0447\u0443. \u041e\u043d \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u043e\u0442 Let&#8217;s Encrypt, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0445 \u0432 Amazon Certificate Manager, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Route53 API \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 DNS-01 challenge, \u0438, \u0432 \u043a\u043e\u043d\u0446\u0435, \u043f\u0443\u0448\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0432 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-33667","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u043e\u0441\u0442 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0448\u0430\u0433\u0438 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u043e\u0442 Let&#039;s Encrypt CA \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f DNS-01 challenge \u0438 AWS. acme-dns-route53 \u2014 \u044d\u0442\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043d\u0430\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0444\u0438\u0447\u0443. \u041e\u043d \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u043e\u0442 Let&#039;s Encrypt, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0445 \u0432 Amazon Certificate Manager, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Route53 API \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 DNS-01 challenge, \u0438, \u0432 \u043a\u043e\u043d\u0446\u0435, \u043f\u0443\u0448\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0432\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/avtomatizatsiya-upravleniya-lets-encrypt-ssl-sertifikatami-ispolzuya-dns-01-challenge-i-aws\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f Let\u2019s Encrypt SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f DNS-01 challenge \u0438 AWS | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u043e\u0441\u0442 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0448\u0430\u0433\u0438 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u043e\u0442 Let&#039;s Encrypt CA \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f DNS-01 challenge \u0438 AWS. acme-dns-route53 \u2014 \u044d\u0442\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043d\u0430\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0444\u0438\u0447\u0443. \u041e\u043d \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u043e\u0442 Let&#039;s Encrypt, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0445 \u0432 Amazon Certificate Manager, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Route53 API \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 DNS-01 challenge, \u0438, \u0432 \u043a\u043e\u043d\u0446\u0435, \u043f\u0443\u0448\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0432\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/avtomatizatsiya-upravleniya-lets-encrypt-ssl-sertifikatami-ispolzuya-dns-01-challenge-i-aws\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:54:04+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:54:04+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Automatisierung der Verwaltung von Let\u2019s Encrypt SSL-Zertifikaten mittels DNS-01 Herausforderung und AWS | ProHoster","description":"Der Beitrag beschreibt die Schritte zur Automatisierung der Verwaltung von SSL-Zertifikaten von Let's Encrypt CA unter Verwendung der DNS-01 Herausforderung und AWS. acme-dns-route53 ist ein Werkzeug, das uns erm\u00f6glicht, diese Funktion zu realisieren. Es kann mit SSL-Zertifikaten von Let's Encrypt arbeiten, sie im Amazon Certificate Manager speichern, die Route53 API zur Umsetzung der DNS-01 Herausforderung nutzen und zuletzt Benachrichtigungen an","canonical_url":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/avtomatizatsiya-upravleniya-lets-encrypt-ssl-sertifikatami-ispolzuya-dns-01-challenge-i-aws","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"de_DE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f Let\u2019s Encrypt SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f DNS-01 challenge \u0438 AWS | ProHoster","og:description":"\u041f\u043e\u0441\u0442 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0448\u0430\u0433\u0438 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u043e\u0442 Let's Encrypt CA \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f DNS-01 challenge \u0438 AWS. acme-dns-route53 \u2014 \u044d\u0442\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043d\u0430\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0444\u0438\u0447\u0443. \u041e\u043d \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 SSL \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u043e\u0442 Let's Encrypt, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0445 \u0432 Amazon Certificate Manager, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Route53 API \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 DNS-01 challenge, \u0438, \u0432 \u043a\u043e\u043d\u0446\u0435, \u043f\u0443\u0448\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0432","og:url":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/avtomatizatsiya-upravleniya-lets-encrypt-ssl-sertifikatami-ispolzuya-dns-01-challenge-i-aws","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:54:04+00:00","article:modified_time":"2019-10-31T18:54:04+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"33667","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 16:13:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:35:32","updated":"2026-01-21 16:13:19"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/33667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/comments?post=33667"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/33667\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media?parent=33667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/categories?post=33667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/tags?post=33667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}