{"id":420,"date":"2021-04-19T22:58:18","date_gmt":"2021-04-19T20:58:18","guid":{"rendered":"https:\/\/madroot.net\/?p=420"},"modified":"2021-04-19T22:58:18","modified_gmt":"2021-04-19T20:58:18","slug":"acme-sh-zertifikat-fuer-neue-subdomain-quick","status":"publish","type":"post","link":"https:\/\/madroot.net\/?p=420","title":{"rendered":"Acme.sh Zertifikat f\u00fcr neue Subdomain (quick)"},"content":{"rendered":"<p>Als erstes sicherstellen,da\u00df Nginx auch per IPv6 lauscht<\/p>\n<p>vi \/etc\/nginx\/sites-enabled\/sub.example.com<\/p>\n<blockquote><p>server {<br \/>\nlisten 80;<br \/>\nlisten [::]:80;<br \/>\n#listen 443 ssl http2;<br \/>\n#listen [::]:443 ssl http2;<\/p>\n<p>server_name sub.example.com;<br \/>\n#ssl_certificate \/etc\/acme.sh\/sub.example.com\/fullchain.pem;<br \/>\n#ssl_certificate_key \/etc\/acme.sh\/sub.example.com\/privkey.pem;<\/p>\n<p>&lt;Rest der Config&gt;<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<blockquote><p>acme.sh &#8211;issue &#8211;nginx -d sub.example.com<\/p>\n<p>mkdir -p \/etc\/acme.sh\/sub.example.com<\/p>\n<p>acme.sh &#8211;install-cert -d sub.example.com &#8211;key-file \/etc\/acme.sh\/sub.example.com\/privkey.pem &#8211;fullchain-file \/etc\/acme.sh\/sub.example.com\/fullchain.pem<\/p>\n<p>vi \/etc\/nginx\/sites-enabled\/sub.example.com<\/p>\n<ul>\n<li># entfernen<\/li>\n<li>:wq<\/li>\n<\/ul>\n<p>service nginx reload<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Als erstes sicherstellen,da\u00df Nginx auch per IPv6 lauscht vi \/etc\/nginx\/sites-enabled\/sub.example.com server { listen 80; listen [::]:80; #listen 443 ssl http2; #listen [::]:443 ssl http2; server_name sub.example.com; #ssl_certificate \/etc\/acme.sh\/sub.example.com\/fullchain.pem; #ssl_certificate_key \/etc\/acme.sh\/sub.example.com\/privkey.pem; &lt;Rest der Config&gt; &nbsp; acme.sh &#8211;issue &#8211;nginx -d sub.example.com mkdir -p \/etc\/acme.sh\/sub.example.com acme.sh &#8211;install-cert -d sub.example.com &#8211;key-file \/etc\/acme.sh\/sub.example.com\/privkey.pem &#8211;fullchain-file \/etc\/acme.sh\/sub.example.com\/fullchain.pem vi \/etc\/nginx\/sites-enabled\/sub.example.com # entfernen :wq [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,12,15],"tags":[],"class_list":["post-420","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-linux","category-web-und-design-fachliches"],"_links":{"self":[{"href":"https:\/\/madroot.net\/index.php?rest_route=\/wp\/v2\/posts\/420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/madroot.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/madroot.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/madroot.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/madroot.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=420"}],"version-history":[{"count":2,"href":"https:\/\/madroot.net\/index.php?rest_route=\/wp\/v2\/posts\/420\/revisions"}],"predecessor-version":[{"id":422,"href":"https:\/\/madroot.net\/index.php?rest_route=\/wp\/v2\/posts\/420\/revisions\/422"}],"wp:attachment":[{"href":"https:\/\/madroot.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/madroot.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/madroot.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}