{"id":9193,"date":"2021-06-06T11:39:40","date_gmt":"2021-06-06T02:39:40","guid":{"rendered":"https:\/\/www.globefish.jp\/wp\/?p=9193"},"modified":"2024-07-04T10:36:18","modified_gmt":"2024-07-04T01:36:18","slug":"slackware-lets-encrypt-2","status":"publish","type":"post","link":"https:\/\/www.globefish.jp\/wp\/2021\/06\/slackware-lets-encrypt-2.html","title":{"rendered":"Slackware\u3067 Let\u2019s Encrypt"},"content":{"rendered":"<p>\u65b0\u898f\u5c0e\u5165\u304b\u3089\u4e09\u30f6\u6708\u5f31\u7d4c\u904e\u3002<br \/>\ncron\u3067\u56de\u3057\u3066\u3044\u308b\u300c~\/letsencrypt\/venv\/bin\/certbot renew\u300d\u304c\u66f4\u65b0\u3067\u304d\u306a\u304b\u3063\u305f\u65e8\u30a8\u30e9\u30fc\u3092\u5410\u3044\u3066\u3044\u308b\u3002<\/p>\n<blockquote><p>\nCould not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration.<br \/>\nThe error was: PluginError(&#8216;An authentication script must be provided with &#8211;manual-auth-hook when using the manual plugin non-interactively.&#8217;)<br \/>\nFailed to renew certificate www.globefish.jp with error: The manual plugin is not working; there may be problems with your existing configuration.<br \/>\nThe error was: PluginError(&#8216;An authentication script must be provided with &#8211;manual-auth-hook when using the manual plugin non-interactively.&#8217;)\n<\/p><\/blockquote>\n<p>\u3069\u3046\u3084\u3089\u624b\u52d5\u3067\u66f4\u65b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\uff1f<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u53e9\u3044\u3066\u307f\u308b\u2026<\/p>\n<blockquote><p>\n~\/letsencrypt\/venv\/bin\/certbot certonly<br \/>\nSaving debug log to \/var\/log\/letsencrypt\/letsencrypt.log<\/p>\n<p>How would you like to authenticate with the ACME CA?<br \/>\n&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\n1: Obtain certificates using a DNS TXT record (if you are using Cloudflare for DNS). (dns-cloudflare)<br \/>\n2: Obtain certificates using a DNS TXT record (if you are using CloudXNS for DNS). (dns-cloudxns)<br \/>\n3: Obtain certificates using a DNS TXT record (if you are using DigitalOcean for DNS). (dns-digitalocean)<br \/>\n4: Obtain certificates using a DNS TXT record (if you are using DNSimple for DNS). (dns-dnsimple)<br \/>\n5: Obtain certificates using a DNS TXT record (if you are using DNS Made Easy for DNS). (dns-dnsmadeeasy)<br \/>\n6: Obtain certificates using a DNS TXT record (if you are using Gehirn Infrastructure Service for DNS). (dns-gehirn)<br \/>\n7: Obtain certificates using a DNS TXT record (if you are using Google Cloud DNS for DNS). (dns-google)<br \/>\n8: Obtain certificates using a DNS TXT record (if you are using Linode for DNS).(dns-linode)<br \/>\n9: Obtain certificates using a DNS TXT record (if you are using LuaDNS for DNS).(dns-luadns)<br \/>\n10: Obtain certificates using a DNS TXT record (if you are using NS1 for DNS).(dns-nsone)<br \/>\n11: Obtain certificates using a DNS TXT record (if you are using OVH for DNS).(dns-ovh)<br \/>\n12: Obtain certificates using a DNS TXT record (if you are using BIND for DNS).(dns-rfc2136)<br \/>\n13: Obtain certificates using a DNS TXT record (if you are using AWS Route53 for DNS). (dns-route53)<br \/>\n14: Obtain certificates using a DNS TXT record (if you are using Sakura Cloud for DNS). (dns-sakuracloud)<br \/>\n15: Spin up a temporary webserver (standalone)<br \/>\n16: Place files in webroot directory (webroot)<br \/>\n&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\nSelect the appropriate number [1-16] then [enter] (press &#8216;c&#8217; to cancel):\n<\/p><\/blockquote>\n<p>\u767b\u9332\u6642\u306f .well-known\u4ee5\u4e0b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u6307\u793a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3057\u3066\u8a8d\u8a3c\u3057\u305f\u3057\u30011\uff5e14\u306f\u9055\u3046\u3088\u3046\u3060\u3002<br \/>\n\u3068\u308a\u3042\u3048\u305a 15\u3092\u9078\u629e\u3057\u3001\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u5165\u529b\u3057\u3066 Expand\u3092\u9078\u629e\u3057\u3066\u307f\u308b\u2026<\/p>\n<blockquote><p>\nSelect the appropriate number [1-16] then [enter] (press &#8216;c&#8217; to cancel): 15<br \/>\nPlugins selected: Authenticator standalone, Installer None<br \/>\nPlease enter in your domain name(s) (comma and\/or space separated)  (Enter &#8216;c&#8217;<br \/>\nto cancel): www.globefish.jp<\/p>\n<p>&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\nYou have an existing certificate that contains a portion of the domains you<br \/>\nrequested (ref: \/etc\/letsencrypt\/renewal\/www.globefish.jp.conf)<\/p>\n<p>It contains these names: www.globefish.jp<\/p>\n<p>You requested these names for the new certificate: www.globefish.jp,<br \/>\nwww.globefish.jp.<\/p>\n<p>Do you want to expand and replace this existing certificate with the new<br \/>\ncertificate?<br \/>\n&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\n(E)xpand\/(C)ancel: e<br \/>\nRenewing an existing certificate for www.globefish.jp and www.globefish.jp<br \/>\nPerforming the following challenges:<br \/>\nhttp-01 challenge for www.globefish.jp<br \/>\nhttp-01 challenge for www.globefish.jp<br \/>\nWaiting for verification&#8230;<br \/>\nCleaning up challenges<\/p>\n<p>IMPORTANT NOTES:<br \/>\n &#8211; Congratulations! Your certificate and chain have been saved at:<br \/>\n   \/etc\/letsencrypt\/live\/www.globefish.jp\/fullchain.pem<br \/>\n   Your key file has been saved at:<br \/>\n   \/etc\/letsencrypt\/live\/www.globefish.jp\/privkey.pem<br \/>\n   Your certificate will expire on 2021-09-04. To obtain a new or<br \/>\n   tweaked version of this certificate in the future, simply run<br \/>\n   certbot again. To non-interactively renew *all* of your<br \/>\n   certificates, run &#8220;certbot renew&#8221;<br \/>\n &#8211; If you like Certbot, please consider supporting our work by:<\/p>\n<p>   Donating to ISRG \/ Let&#8217;s Encrypt:   https:\/\/letsencrypt.org\/donate<br \/>\n   Donating to EFF:                    https:\/\/eff.org\/donate-le\n<\/p><\/blockquote>\n<p>\u3069\u3046\u3084\u3089\u3046\u307e\u304f\u884c\u3063\u305f\u3088\u3046\u3060\u3002<br \/>\n\u6b21\u56de\u66f4\u65b0\u6642\u306f 16\u306e webroot\u3092\u8a66\u3057\u3066\u307f\u3088\u3046\u3002<br \/>\n\u3053\u3061\u3089\u306f\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u76f4\u63a5\u898b\u306b\u884c\u3063\u3066\u66f4\u65b0\u3057\u3066\u304f\u308c\u308b\u30e2\u30fc\u30c9\u3063\u307d\u304f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u3061\u3083\u3061\u3083\u3063\u3068\u51fa\u6765\u3061\u3083\u3046\u6a21\u69d8\u3002<sup><a href='https:\/\/www.globefish.jp\/wp\/2021\/06\/slackware-lets-encrypt-2.html#1'>*1<\/a><\/sup> <\/p>\n<blockquote><p>\n~\/letsencrypt\/venv\/bin\/certbot certonly &#8211;webroot -w \/var\/www\/sample\/public -d xxxx.sample.com\n<\/p><\/blockquote>\n<h2>2024\/07\/04\u8ffd\u8a18<\/h2>\n<p>\u300c~\/letsencrypt\/venv\/bin\/certbot certonly\u300d\u3067 webroot\u3092\u9078\u3076\u30d1\u30bf\u30fc\u30f3<br \/>\n<blockqyote><br \/>\n15: Saves the necessary validation files to a .well-known\/acme-challenge\/<br \/>\ndirectory within the nominated webroot path. A seperate HTTP server must be<br \/>\nrunning and serving files from the webroot path. HTTP challenge only (wildcards<br \/>\nnot supported). (webroot)<br \/>\n&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\nSelect the appropriate number [1-15] then [enter] (press &#8216;c&#8217; to cancel): 15<\/p>\n<p>&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\nAn RSA certificate named nature.globefish.jp already exists. Do you want to<br \/>\nupdate its key type to ECDSA?<br \/>\n&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\n(U)pdate key type\/(K)eep existing key type: k<br \/>\nRenewing an existing certificate for nature.globefish.jp<br \/>\nInput the webroot for nature.globefish.jp: (Enter &#8216;c&#8217; to cancel): \/XXXX\/nature\/<\/p>\n<p>Successfully received certificate.<br \/>\nCertificate is saved at: \/etc\/letsencrypt\/live\/nature.globefish.jp\/fullchain.pem<br \/>\nKey is saved at:         \/etc\/letsencrypt\/live\/nature.globefish.jp\/privkey.pem<br \/>\nThis certificate expires on 2024-10-02.<br \/>\nThese files will be updated when the certificate renews.<\/p>\n<p>NEXT STEPS:<br \/>\n&#8211; The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take steps to enable that functionality. See https:\/\/certbot.org\/renewal-setup for instructions.<\/p>\n<p>&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\nIf you like Certbot, please consider supporting our work by:<br \/>\n * Donating to ISRG \/ Let&#8217;s Encrypt:   https:\/\/letsencrypt.org\/donate<br \/>\n * Donating to EFF:                    https:\/\/eff.org\/donate-le<br \/>\n&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;\n<\/p><\/blockquote>\n\n","protected":false},"excerpt":{"rendered":"<p>\u65b0\u898f\u5c0e\u5165\u304b\u3089\u4e09\u30f6\u6708\u5f31\u7d4c\u904e\u3002 cron\u3067\u56de\u3057\u3066\u3044\u308b\u300c~\/letsencrypt\/venv\/bin\/certbot renew\u300d\u304c\u66f4\u65b0\u3067\u304d\u306a\u304b\u3063\u305f\u65e8\u30a8\u30e9\u30fc\u3092\u5410\u3044\u3066\u3044\u308b\u3002 Could not choose appropriat&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[],"class_list":["post-9193","post","type-post","status-publish","format-standard","hentry","category-slackware"],"_links":{"self":[{"href":"https:\/\/www.globefish.jp\/wp\/wp-json\/wp\/v2\/posts\/9193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globefish.jp\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globefish.jp\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globefish.jp\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globefish.jp\/wp\/wp-json\/wp\/v2\/comments?post=9193"}],"version-history":[{"count":0,"href":"https:\/\/www.globefish.jp\/wp\/wp-json\/wp\/v2\/posts\/9193\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.globefish.jp\/wp\/wp-json\/wp\/v2\/media?parent=9193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globefish.jp\/wp\/wp-json\/wp\/v2\/categories?post=9193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globefish.jp\/wp\/wp-json\/wp\/v2\/tags?post=9193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}