{"id":6117,"date":"2024-07-11T11:46:46","date_gmt":"2024-07-11T02:46:46","guid":{"rendered":"https:\/\/taitan916.info\/blog\/?p=6117"},"modified":"2024-04-26T16:59:51","modified_gmt":"2024-04-26T07:59:51","slug":"post-6117","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/6117","title":{"rendered":"Let's Encrypt\u306e\u81ea\u52d5\u66f4\u65b0\u6642\u300cFailed to renew certificate\uff5e\u300d\u30a8\u30e9\u30fc\u306e\u5bfe\u5fdc\u65b9\u6cd5"},"content":{"rendered":"<p>CentOS\u304b\u3089AlmaLinux\u306b\u79fb\u884c\u5f8c\u3001\u521d\u3081\u3066\u306eLet's Encrypt\u66f4\u65b0\u65e5\u304c\u6765\u305f\u3093\u3060\u3051\u3069Cron\u306b\u3088\u308b\u81ea\u52d5\u66f4\u65b0\u304c\u884c\u308f\u308c\u3066\u3044\u306a\u3044\u3063\u307d\u3044\u3002\u305d\u306e\u305f\u3081\u624b\u52d5\u3067\u300ccertbot renew\u300d\u3068\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u66f4\u65b0\u3067\u304d\u306a\u304b\u3063\u305f\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30a8\u30e9\u30fc\u5185\u5bb9<\/h2>\n<p>\u30b5\u30fc\u30d0\u306bSSH\u63a5\u7d9a\u3057\u300ccertbot renew\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u4ee5\u4e0b\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">certbot renew\r\n\r\nSaving debug log to \/var\/log\/letsencrypt\/letsencrypt.log\r\n\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nProcessing \/etc\/letsencrypt\/renewal\/test.com.conf\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nFailed to renew certificate test.com with error: The manual plugin is not working; there may be problems with your existing configuration.\r\nThe error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.',)\r\n\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nAll renewals failed. The following certificates could not be renewed:\r\n  \/etc\/letsencrypt\/live\/test.com\/fullchain.pem (failure)\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n1 renew failure(s), 0 parse failure(s)\r\nAsk for help or search for solutions at https:\/\/community.letsencrypt.org. See the logfile \/var\/log\/letsencrypt\/letsencrypt.log or re-run Certbot with -v for more details.\r\n<\/pre>\n<p>\u7ffb\u8a33\u3059\u308b\u3068\u4ee5\u4e0b\u5185\u5bb9\u306b\u306a\u308b\u3002<\/p>\n<blockquote><p>\u8a3c\u660e\u66f8 test.com \u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u30a8\u30e9\u30fc: \u624b\u52d5\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u6a5f\u80fd\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u65e2\u5b58\u306e\u69cb\u6210\u306b\u554f\u984c\u304c\u3042\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30a8\u30e9\u30fc\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3057\u305f: PluginError('\u624b\u52d5\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u975e\u5bfe\u8a71\u7684\u306b\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u8a8d\u8a3c\u30b9\u30af\u30ea\u30d7\u30c8\u306b --manual-auth-hook \u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002',)<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h2>\u5bfe\u5fdc\u65b9\u6cd5<\/h2>\n<p><a href=\"https:\/\/taitan916.info\/blog\/archives\/4283#Lets_Encrypt\" target=\"_blank\" rel=\"noopener\">\u904e\u53bb\u8a18\u4e8b<\/a>\u3092\u53c2\u8003\u306b\u6539\u3081\u3066\u8a3c\u660e\u66f8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3057\u305f\u3002\u5177\u4f53\u7684\u306b\u306f\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b(\u6700\u521d\u306f--dry-run\u3092\u3064\u3051\u3066\u30c6\u30b9\u30c8\u3059\u308b\u65b9\u304c\u5b89\u5168)\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#\u8a3c\u660e\u66f8\u3092\u4f5c\u6210(xxxxx.com\u306f\u9069\u5b9c\u5909\u66f4\u3059\u308b\u3002\u307e\u305f\u3001\u30c6\u30b9\u30c8\u3057\u305f\u3044\u5834\u5408\u306f\u5f8c\u308d\u306b--dry-run\u3092\u3064\u3051\u308b)\r\ncertbot certonly --webroot -w \/var\/www\/html\/xxxxxxx -d xxxxx.com<\/pre>\n<p>\u554f\u984c\u7121\u3051\u308c\u3070\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3067apache\u3092\u518d\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#apache\u306e\u518d\u8d77\u52d5\r\nsystemctl restart httpd<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u6240\u611f<\/h2>\n<h3>\u539f\u56e0\uff1f<\/h3>\n<p><a href=\"https:\/\/taitan916.info\/blog\/archives\/4947\" target=\"_blank\" rel=\"noopener\">CentOS\u304b\u3089AlmaLinux\u306b\u79fb\u884c\u3057\u305f\u969b\u306b\u3001Let\u2019s Encrypt\u306fHTTP\u8a8d\u8a3c\u3067\u306f\u306a\u304fDNS\u8a8d\u8a3c\u3067\u5c0e\u5165\u3057\u305f<\/a>\u306e\u304c\u554f\u984c\u306a\u306e\u304b\u3082\u3002\u3082\u3057\u304f\u306f\u305d\u306e\u5c0e\u5165\u6642\u306b\u4f55\u3089\u304b\u306e\u8a2d\u5b9a\u3092\u30df\u30b9\u3057\u3066\u3044\u305f\u3068\u304b\u3002\u3068\u8a00\u3046\u306e\u3082CentOS\u306e\u9803\u306f\u6b63\u5e38\u306b\u81ea\u52d5\u66f4\u65b0\u3067\u304d\u3066\u3044\u305f\u305f\u3081\u3002<\/p>\n<p>\u6b21\u306e\u66f4\u65b0\u6642\u306b\u6b63\u5e38\u306b\u81ea\u52d5\u66f4\u65b0\u3067\u304d\u3066\u3044\u308b\u304b\u8981\u78ba\u8a8d\u3002<\/p>\n<h3>SSL\u8a3c\u660e\u66f8\u671f\u9650\u30c1\u30a7\u30c3\u30af<\/h3>\n<p>\u3061\u3087\u3063\u3068\u524d\u306b\u30b5\u30fc\u30d0\u306e\u6b7b\u6d3b\u76e3\u8996\u3068\u3057\u3066<a href=\"https:\/\/appmill.work\/\" target=\"_blank\" rel=\"noopener\">Appmill<\/a>\u3068\u3044\u3046\u30b5\u30a4\u30c8\u306b\u767b\u9332\u3057\u305f\u3093\u3060\u3051\u3069\u3001\u30b5\u30fc\u30d0\u306e\u6b7b\u6d3b\u76e3\u8996\u4ee5\u5916\u306b\u3082SSL\u8a3c\u660e\u66f8\u306e\u6709\u52b9\u671f\u9650\u3068\u30c9\u30e1\u30a4\u30f3\u306e\u6709\u52b9\u671f\u9650\u3082\u76e3\u8996\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u30aa\u30b9\u30b9\u30e1\u3002<\/p>\n<p>\u4eca\u56de\u306eLet's Encrypt\u306e\u6709\u52b9\u671f\u9650\u304c\u8feb\u3063\u3066\u3044\u308b\u306e\u3082\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8\u3067\u6c17\u4ed8\u3051\u305f\u306e\u3067\u52a9\u304b\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS\u304b\u3089AlmaLinux\u306b\u79fb\u884c\u5f8c\u3001\u521d\u3081\u3066\u306eLet's Encrypt\u66f4 ... <\/p>\n","protected":false},"author":1,"featured_media":4013,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7],"tags":[99],"class_list":["post-6117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-lets-encrypt"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/6117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/comments?post=6117"}],"version-history":[{"count":3,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/6117\/revisions"}],"predecessor-version":[{"id":6120,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/6117\/revisions\/6120"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/4013"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=6117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=6117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=6117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}