{"id":1390,"date":"2022-07-26T12:40:27","date_gmt":"2022-07-26T04:40:27","guid":{"rendered":"https:\/\/yowlab.idv.tw\/wordpress\/?p=1390"},"modified":"2026-02-12T14:08:40","modified_gmt":"2026-02-12T06:08:40","slug":"%e4%bd%bf%e7%94%a8-certbot-%e4%be%86%e7%82%ba%e7%b6%b2%e7%ab%99%e7%94%b3%e8%ab%8b-lets-encrtpt-%e6%86%91%e8%ad%89-centos-7","status":"publish","type":"post","link":"https:\/\/yowlab.idv.tw\/wordpress\/?p=1390","title":{"rendered":"\u4f7f\u7528 Certbot \u4f86\u70ba\u7db2\u7ad9\u7533\u8acb Let&#8217;s  Encrtpt \u6191\u8b49 (CentOS 7)"},"content":{"rendered":"<p>\u65e9\u5c31\u8a72\u9762\u5c0d\u8207\u5b78\u7fd2\u89e3\u6c7a\u7684\u554f\u984c\uff0c\u9019\u4e00\u5929\uff0c\u7d42\u7a76\u9084\u662f\u4f86\u4e86\u3002<\/p>\n<p>\u56e0\u70ba\u8cc7\u5b89\u4ee5\u53ca\u4e00\u4e9b\u8b70\u984c\uff0c\u6240\u4ee5\u7db2\u7ad9\u8cc7\u6599\u4f7f\u7528 SSL\/TLS \u4f86\u52a0\u89e3\u5bc6\u50b3\u8f38\uff0c\u65e9\u5df2\u662f\u6a19\u6e96\u5fc5\u5099\u3002<\/p>\n<p>\u800c\u597d\u5fc3\u7684 <a href=\"https:\/\/zerossl.com\/\" rel=\"noopener\" target=\"_blank\">ZeroSSL<\/a>\u516c\u53f8\u514d\u8cbb\u63d0\u4f9b\u7d66\u672c\u7db2\u7ad9\u4e00\u5e74\u514d\u8cbb\u7684\u6191\u8b49\u670d\u52d9\u4e5f\u5230\u671f\uff0c\u5be6\u5728\u4e5f\u4e0d\u597d\u7e3d\u662f\u56db\u8655\u5c0b\u8993\u514d\u8cbb\u5c08\u6848\uff0c\u60f3\u60f3\u9084\u662f\u76f4\u63a5\u7533\u8acb\u4f7f\u7528 <a href=\"https:\/\/letsencrypt.org\/\" rel=\"noopener\" target=\"_blank\">Let&#8217;s  Encrypt<\/a> \u6240\u63d0\u4f9b\u7684\u514d\u8cbb SSL\/TLS \u6191\u8b49\u4f86\u4f7f\u7528\u597d\u4e86\u3002\uff08\u8a3b\uff1aLet&#8217;s  Encrypt \u662f\u4e00\u500b\u514d\u8cbb\u53ca\u958b\u653e\u7684\u63d0\u4f9b\u6191\u8b49\u7684\u6a5f\u69cb\uff08CA\uff09\uff09<\/p>\n<style type=\"text\/css\">\n    li.present01 {line-height:1.5em; background-color:#F5E5C9; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\n    li.present02 {line-height:1.5em; background-color:#D1EC87; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\n    li.present03 {line-height:1.5em; background-color:#b3dffa; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\n    li.present04 {line-height:1.5em; background-color:#FDF6FF; padding:10px; border-radius:10px; font-weight:bold; margin:5px;}\n    ol.lower-alpha {list-style-type:lower-alpha;}\n    ol.lower-roman {list-style-type:lower-roman;}\n    ul.none {list-style-type:none;line-height:1.5em; padding:10px;}\n    ul.note {line-height:1.5em; padding:10px;}\n    .highlight01 {font-weight:bold; line-height:1.5em; background-color:#e7f49c; padding:0px 2px; border:1px; border-radius:10px;}\n    .highlight02 {font-weight:bold; line-height:1.5em; background-color:#F2F26B; padding:1px 1px; border:1px;}\n    .highlight03 {font-weight:bold; line-height:1.5em; background-color:#F9BF72; padding:3px 10px; border:2px; border-radius:10px;}\n   .box01 {margin: 5px; border:1px #19130B solid; border-radius:5px; padding:10px;}\n    .box02 {margin: 5px; font-weight:bold; line-height:1.5em; padding:10px; border:1px #19130B solid; border-radius:5px; float: left;}\n    h3 {border:2px #000 solid; border-width:0px 0px 1px 0px; padding-width:0px 0px 3px 0px;}\n<\/style>\n<p><span class=\"highlight01\">\u5728\u6b64\u8aa0\u5fc3\u611f\u8b1d\u597d\u5fc3\u7684  <a href=\"https:\/\/zerossl.com\/\" rel=\"noopener\" target=\"_blank\"> ZeroSSL<\/a> \u516c\u53f8 \u4ee5\u53ca\u5049\u5927\u7684 <a href=\"https:\/\/letsencrypt.org\/\" rel=\"noopener\" target=\"_blank\">Let&#8217;s  Encrypt <\/a> \u7d44\u7e54\u514d\u8cbb\u63d0\u4f9b\u7d66\u5927\u5bb6\u7684 SSL \u6191\u8b49 \u8cc7\u6e90\uff01<\/span><\/p>\n<p>\u6211\u7684\u76ee\u6a19\u662f\u8981\u7533\u8acb\u8207\u4f7f\u7528 <a href=\"https:\/\/letsencrypt.org\/\" rel=\"noopener\" target=\"_blank\">Let&#8217;s Encrypt <\/a>\u6240\u767c\u884c\u7684\u514d\u8cbb SSL\/TLS \u6191\u8b49\uff0c\u5728\u7d93\u904e\u4e00\u756a\u7814\u7a76\u4e4b\u5f8c\uff0c\u767c\u73fe\u76ee\u524d\u5927\u5bb6\u5e7e\u4e4e\u90fd\u662f\u4f7f\u7528<a href=\"https:\/\/certbot.eff.org\/\" rel=\"noopener\" target=\"_blank\">Certbot<\/a>\u4f86\u7533\u8acb\u6191\u8b49\uff0c\u6240\u4ee5\u6211\u4e5f\u8ddf\u8457\u4f86\u4f7f\u7528\u3002<\/p>\n<ol>\n<li class=\"present01\">\u5b89\u88dd Certbot <\/li>\n<p>            \u76ee\u524d\u8a31\u591a\u7cfb\u7d71\u7684\u5957\u4ef6\u7ba1\u7406\u7a0b\u5f0f\u90fd\u5df2\u5c07 Certbot \u5305\u9032\u53bb\uff0c\u4f46\u82e5\u60f3\u4f7f\u7528\u6700\u65b0\u7248\u672c\u8005\uff0c\u6216\u662f\u4e0d\u6e05\u695a\u8005\uff0c\u53ef\u4ee5\u53c3\u8003 <a href=\"https:\/\/certbot.eff.org\/\" rel=\"noopener\" target=\"_blank\">https:\/\/certbot.eff.org\/<\/a> \u7684\u5f15\u5c0e\u4f86\u9032\u884c\u5b89\u88dd\u3002<br \/>\n            <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_145042-1024x528.png\" alt=\"\" width=\"530\" height=\"273\" class=\"alignnone size-large wp-image-1398\" srcset=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_145042-1024x528.png 1024w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_145042-350x181.png 350w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_145042-768x396.png 768w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_145042-1536x793.png 1536w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_145042.png 1715w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/p>\n<p>             \u6211\u7684\u7db2\u7ad9\u7cfb\u7d71\u662f CentOS 7 \u7cfb\u5217\uff0c\u6240\u4ee5\u53ef\u4ee5\u4e0d\u7ba1\u4e0a\u9762\u8b1b\u4ec0\u9ebc\uff0c\u76f4\u63a5\u900f\u904e yum \u5957\u4ef6\u7ba1\u7406\u7cfb\u7d71\u5b89\u88dd\u3002<\/p>\n<p>             \u5148\u641c\u5c0b\u6709\u54ea\u4e9b\u53ef\u4ee5\u5b89\u88dd\u7684\u7a0b\u5f0f\uff08\u5957\u4ef6\uff09\u7d44\uff0c\u5728\u547d\u4ee4 <span class=\"highlight01\"> yum search certbot <\/span> \u5f8c\uff0c\u53ef\u4ee5\u770b\u5230\u76f8\u95dc\u7684\u7a0b\u5f0f\uff08\u5957\u4ef6\uff09\u7d44\uff0c\u53c8\u6211\u7684\u7db2\u9801\u4f3a\u670d\u5668\u662f\u4f7f\u7528 Apache httpd \u3002<br \/>\n             <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_151108-1024x468.png\" alt=\"\" width=\"530\" height=\"242\" class=\"alignnone size-large wp-image-1399\" srcset=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_151108-1024x468.png 1024w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_151108-350x160.png 350w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_151108-768x351.png 768w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/07\/Screenshot_20220725_151108.png 1424w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/p>\n<div class=\"box01\">\n             \u78ba\u5b9a\u4e4b\u5f8c\uff0c\u900f\u904e yum \u5957\u4ef6\u7ba1\u7406\u7cfb\u7d71\u76f4\u63a5\u5b89\u88dd\u8d77\u4f86\uff0c\u4e5f\u9806\u9053\u5c07 openssl \u8207\u76f8\u95dc\u5957\u4ef6\u5b89\u88dd\u8d77\u4f86\uff1a<\/p>\n<p>                <span class=\"highlight01\">yum -y install certbot   python2-certbot-apache  python2-certbot  openssl  mod_ssl <\/span><\/p><\/div>\n<p>&nbsp;<\/p>\n<li class=\"present01\">\u4f7f\u7528 Certbot \u7533\u8acb\u6191\u8b49<\/li>\n<p>             Certbot \u53ef\u4f9d\u64da\u4e0d\u540c\u7684\u72c0\u6cc1\u63d0\u4f9b\u4e0d\u540c\u4f5c\u6cd5\uff0c\u57fa\u672c\u4e0a\u5206\u6210\u300c\u55ae\u7d14\u53d6\u5f97\u6191\u8b49\u300d\u548c\u300c\u81ea\u52d5\u5316\u53d6\u5f97\u6191\u8b49\u300d\u642d\u914d\u300c\u662f\u5426\u81ea\u52d5\u8a2d\u5b9a\u4f3a\u670d\u5668\u300d\u7684\u90e8\u5206\u5c31\u7522\u751f\u591a\u7a2e\u4f5c\u6cd5\u3002\u5982\u679c\u8981\u652f\u63f4\u81ea\u52d5\u5316\u5c31\u5fc5\u9808\u901a\u904e acme-challenge\uff08http-01 \u6216 dns-01 \uff09\u9a57\u8b49\uff0c\u8a2d\u5b9a\u6d41\u7a0b\u8907\u96dc\u7684\u90e8\u5206\u591a\u4f86\u81ea\u65bc\u9a57\u8b49\u968e\u6bb5\u7684\u8a2d\u5b9a\u3002<\/p>\n<p>             \u5927\u81f4\u5206\u6210\u4ee5\u4e0b\u5e7e\u7a2e\uff1a<\/p>\n<ol  class=\"lower-alpha\">\n<li class=\"present02\">\u5168\u81ea\u52d5 (\u81ea\u5099 HTTP \u4f3a\u670d\u5668) &#8212; certbot<\/li>\n<li class=\"present02\">\u534a\u81ea\u52d5\uff08\u81ea\u5099 HTTP \u4f3a\u670d\u5668\uff0c\u4e0d\u8abf\u6574 HTTP \u4f3a\u670d\u5668\u8a2d\u5b9a\uff09&#8211; certbot certonly<\/li>\n<li class=\"present02\">webroot \uff08\u81ea\u5099 HTTP \u4f3a\u670d\u5668\uff0c\u81ea\u884c\u8a2d\u5b9a acme-challenge \u90e8\u5206\uff09 &#8212; certbot certonly &#8211;webroot<\/li>\n<li class=\"present02\">\u624b\u52d5\uff08\u81ea\u5099 HTTP \u4f3a\u670d\u5668 \u3001\u5176\u4ed6\u4e3b\u6a5f\uff09&#8211; certbot certonly &#8211;manual<\/li>\n<li class=\"present02\">DNS \u5957\u4ef6 &#8212;  certbot certonly &#8211;dns-PLUGIN<\/li>\n<li class=\"present02\">Standalone\uff08Certbot \u63d0\u4f9b\u7368\u7acb HTTP \u4f3a\u670d\u5668\u90e8\u5206\uff09&#8211; certbot certonly &#8211;standalone<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>              \u8b80\u4e86\u53c3\u8003\u6587\u4ef6\u5f8c\uff0c\u4e00\u958b\u59cb\u63a1\u7528\u81ea\u884c\u8a2d\u5b9a\u6cd5\uff1a<br \/>\n              <code><span class=\"highlight01\">\/usr\/bin\/certbot certonly -apache  --webroot  -w \/home\/www  -d yowlab.idv.tw <\/span><\/code><\/p>\n<div class=\"box01\">\n<h5>\u8aaa\u660e\uff1a<\/h5>\n<ol class=\"lower-alpha\">\n<li class=\"present03\">certonly\uff1a\u50c5\u7533\u8acb\u6191\u8b49\uff0c\u4e0d\u4e3b\u52d5\u7de8\u8f2f httpd.conf<\/li>\n<li class=\"present03\">\u2013apache\uff1a\u8868\u793a\u4f7f\u7528 Apache httpd \u4f5c\u70ba\u7db2\u9801\u4f3a\u670d\u5668<\/li>\n<li class=\"present03\"> &#8211;webroot :\u8868\u793a\u81ea\u884c\u8a2d\u5b9a\u7db2\u7ad9\u7d30\u7bc0\u90e8\u4efd<\/li>\n<li class=\"present03\">-w\uff1a\u7db2\u7ad9\u6839\u76ee\u9304\u6240\u5728(\u767c\u8b49\u55ae\u4f4d\u4ecd\u7136\u8981\u53bb\u9a57\u8b49ACME Challenge file\uff0c\u6240\u4ee5Certbot\u5fc5\u9808\u8981\u628a\u9a57\u8b49\u6a94\u653e\u5728\u6b63\u78ba\u7684\u4f4d\u7f6e)<\/li>\n<li class=\"present03\">-d\uff1a\u7db2\u57df\u540d\u7a31\uff0c\u5982\u679c\u662f www \u958b\u982d\u7684\u8a71\uff0c\u9084\u5f97\u591a\u6307\u5b9a\u4e00\u500b\u53bb\u6389 www \u7684\u7db2\u5740<\/li>\n<\/ol><\/div>\n<p>&nbsp;<\/p>\n<p>             \u6b64\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5f88\u5feb\u7533\u8acb\u597d SSL\u6191\u8b49\uff0c\u4f46\u662f\uff0c\u7121\u6cd5\u751f\u51fa\u300cACME Challenge file\u300d\uff0c\u5982\u6b64\u6191\u8b49\u5230\u671f\u6642\uff0c\u6703\u7121\u6cd5\u4e3b\u52d5\u66f4\u65b0\u6191\u8b49\u3002<\/p>\n<p>             \u6240\u4ee5\u53ea\u597d\u63a1\u7528\u300c\u624b\u52d5\u300d\u6cd5\uff0c\u4e00\u6b65\u4e00\u6b65\u8ddf\u8457\u5c0e\u5f15\u8d70\uff1a<br \/>\n             <span class=\"highlight01\"> \/usr\/bin\/certbot certonly  -apache &#8211;manual <\/span><\/p>\n<p>             \u6191\u8b49\u7522\u751f\u4e4b\u5f8c\uff0c\u6240\u6709\u7684\u6191\u8b49\u6a94\u6848\u90fd\u6703\u88ab\u653e\u7f6e\u5728<span class=\"highlight01\">  \/etc\/letsencrypt\/live\/(\u7db2\u57df\u540d\u7a31)\/ <\/span>\u76ee\u9304\u88e1\u3002<br \/>\n             \u6703\u7522\u751f\u56db\u500b\u6191\u8b49\u6a94\u6848\uff1a<\/p>\n<ul class=\"note\">\n<li class=\"present04\">cert.pem\uff1a\u4e3b\u8981\u7684\u4f3a\u670d\u5668\u6191\u8b49<\/li>\n<li class=\"present04\">privkey.pem\uff1a\u4f3a\u670d\u5668\u6191\u8b49\u7684\u79c1\u5bc6\u91d1\u9470 private key\uff0c\u6ce8\u610f\uff1a\u6b64\u6191\u8b49\u4e26\u672a\u8a2d\u5b9a\u5bc6\u78bc)<\/li>\n<li class=\"present04\">fullchain.pem\uff1a\u5b8c\u6574\u7684\u6191\u8b49\u93c8\uff0c\u88e1\u9762\u5305\u542b\u6240\u6709\u6191\u8b49\uff1a\u4f3a\u670d\u5668\u6191\u8b49+\u4e2d\u7e7c\u6191\u8b49\uff0c\u6240\u8b02\u7684 CA <\/li>\n<li class=\"present04\">chain.pem\uff1a\u4e2d\u7e7c\u6191\u8b49\uff0c\u6709\u4e9b\u7db2\u7ad9\u4f3a\u670d\u5668\u6703\u9700\u8981\u7279\u5225\u5b89\u88dd\u3002\u4f8b\u5982\uff1aOCSP stapling in Nginx >=1.3.7. <\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<li class=\"present01\">\u7db2\u9801\u4f3a\u670d\u5668\u8a2d\u5b9a<\/li>\n<p>            \u5c07\u4ee5\u4e0b\u9019\u5e7e\u884c\u653e\u5165<span class=\"highlight01\">  \/etc\/httpd\/conf.d\/ssl.conf <\/span>\u4e2d<\/p>\n<div class=\"box01\">\n<ul class=\"none\">\n<li class=\"present04\">ServerAlias yowlab.idv.tw<\/li>\n<li class=\"present04\">Include                 \/etc\/letsencrypt\/options-ssl-apache.conf <\/li>\n<li class=\"present04\">SSLCertificateFile      \/etc\/letsencrypt\/live\/(\u7db2\u57df\u540d\u7a31)\/cert.pem <\/li>\n<li class=\"present04\">SSLCertificateKeyFile   \/etc\/letsencrypt\/live\/(\u7db2\u57df\u540d\u7a31)\/privkey.pem <\/li>\n<li class=\"present04\">SSLCertificateChainFile \/etc\/letsencrypt\/live\/(\u7db2\u57df\u540d\u7a31)\/chain.pem <\/li>\n<li class=\"present04\">SSLCACertificateFile    \/etc\/letsencrypt\/live\/(\u7db2\u57df\u540d\u7a31)\/fullchain.pem <\/li>\n<\/ul><\/div>\n<p>&nbsp;<\/p>\n<li class=\"present01\">\u91cd\u555f\u7db2\u9801\u4f3a\u670d\u5668\u670d\u52d9<\/li>\n<p>            <span class=\"highlight01\">sudo \/usr\/sbin\/apachectl -k graceful <\/span><\/p>\n<h5>\u6216<\/h5>\n<p>            <span class=\"highlight01\">sudo service httpd restart <\/span><\/p>\n<h5>\u6216<\/h5>\n<p>            <span class=\"highlight01\">sudo systemctl restart httpd <\/span><\/p>\n<li class=\"present01\">\u6191\u8b49\u5230\u671f\uff0c\u81ea\u52d5\u66f4\u65b0\u7684\u8a2d\u5b9a<\/li>\n<p>             <a href=\"https:\/\/letsencrypt.org\/\" rel=\"noopener\" target=\"_blank\">Let&#8217;s Encrypt <\/a>\u6240\u767c\u884c\u7684\u514d\u8cbb SSL\/TLS \u6191\u8b49\uff0c<span class=\"highlight01\">\u6709\u6548\u671f\u9650\u662f 90 \u5929\uff08 3 \u500b\u6708\uff09<\/span>\uff0c\u6240\u4ee5\u6bcf\u9694 90 \u5929\u5c31\u8981\u91cd\u65b0\u7533\u8acb\u4e26\u66f4\u65b0\u4e00\u6b21\u6191\u8b49\u3002<\/p>\n<p>             \u53ef\u4ee5\u6bcf\u9694 90 \u5929\uff0c\u5c31\u624b\u52d5\u66f4\u65b0\u4e00\u6b21\u3002<\/p>\n<p>             \u4e5f\u53ef\u4ee5\u8b93 certbot \u5728 90 \u5929\u6191\u8b49\u5230\u671f\u4e4b\u6642\uff0c\u81ea\u52d5\u57f7\u884c\u66f4\u65b0\u3002<\/p>\n<div class=\"box01\">\n               \u5c07\u5e95\u4e0b\u8a2d\u5b9a\u5beb\u5165 <span class=\"highlight01\">\/etc\/crontab <\/span> \u6a94\u6848\u4e2d\uff0c\u4e26\u91cd\u65b0\u555f\u52d5 crond \u670d\u52d9\uff1a<span class=\"highlight01\">sudo service crond restart <\/span> \u6216 <span class=\"highlight01\">sudo systemctl restart crond<\/span>  \u3002 <\/p>\n<p>                <span class=\"highlight01\">0 0 *\/90 * * root \/usr\/bin\/certbot renew &#8211;quiet &#8211;no-self-upgrade &#8211;post-hook &#8220;\/usr\/sbin\/apachectl -k graceful&#8221;<\/span><\/p>\n<h5>\u53c3\u6578\u8aaa\u660e\uff1a<\/h5>\n<ol class=\"lower-alpha\">\n<li class=\"present02\">renew \uff1a\u8868\u793a\u8981\u6c42\u66f4\u65b0SSL\u6191\u8b49\u3002<\/li>\n<li class=\"present02\">\u2013quiet\uff1a\u4e0d\u8df3\u51fa\u8a62\u554f\u3002<\/li>\n<li class=\"present02\">\u2013no-self-upgrade\uff1a\u57f7\u884c\u7a0b\u5f0f\u5c31\u597d\uff0c\u4e0d\u66f4\u65b0 Certbot \u672c\u8eab\u3002(\u9810\u8a2d\u662f\u81ea\u52d5\u66f4\u65b0)<\/li>\n<li class=\"present02\">\u2013post-hook\uff1a\u6307\u5b9a\u66f4\u65b0\u5b8c\u6210\u5f8c\uff0c\u63a5\u8457\u8981\u57f7\u884c\u7684\u547d\u4ee4\uff0c\u7528\u96d9\u5f15\u865f\u5c07\u6307\u4ee4\u6846\u8d77\u4f86\uff01<\/li>\n<\/ol><\/div>\n<p>&nbsp;<\/p>\n<li class=\"present01\">\u79fb\u9664\u6191\u8b49<\/li>\n<ol class=\"lower-alpha\">\n<li class=\"present02\">\u6191\u8b49\u5168\u90e8\u79fb\u9664<\/li>\n<p>                      sudo certbot delete<br \/>\n                      \u6aa2\u67e5\u4e26\u522a\u9664 \/etc\/httpd\/conf.d\/SSL \u8a2d\u5b9a<br \/>\n                      \u6aa2\u67e5\u4e26\u522a\u9664 \/etc\/letsencrypt\/archive, \/etc\/letsencrypt\/live, \/etc\/letsencrypt\/renewal<\/p>\n<li class=\"present02\">\u76f4\u63a5\u6839\u64da\u57df\u540d\u522a\u9664<\/li>\n<p>                      sudo certbot delete &#8211;cert-name <domain_name.com>\n              <\/ol>\n<\/ol>\n<h3>\u5f8c\u8a18<\/h3>\n<ol>\n<li>\u66f4\u65b0\u5b8c\u6191\u8b49\u5f8c\uff0c\u7db2\u7ad9\u53cd\u61c9\u901f\u5ea6\u7a81\u7136\u6709\u98db\u6607\u7684\u611f\u89ba\uff0c\u539f\u4f86\u4e4b\u524d\u5361\u4f4f\u901f\u5ea6\u7684\u539f\u56e0\u662f\u5728 ZeroSSL \u4e0a\u3002<\/li>\n<li>\u5f04\u61c2\u4f86\u9f8d\u53bb\u8108\u4e4b\u5f8c\uff0c\u5176\u5be6\uff0c\u771f\u7684\u5f88\u7c21\u55ae\uff0c\u901f\u5ea6\u4e5f\u5f88\u5feb\u3002\u4e5f\u8a31\u662f\u6642\u4ee3\u9032\u6b65\uff0c\u5de5\u5177\u4e5f\u9032\u6b65\u4e86\u3002\u6211\u65e9\u5c31\u8a72\u81ea\u5df1\u5f04\u4e86\uff01<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3>\u53c3\u8003\u8cc7\u6e90<\/h3>\n<ol>\n<li class=\"present01\">\u5165\u9580 &#8211;  Let&#8217;s Encrypt &#8211; \u514d\u8cbb\u7684 SSL\/TLS \u6191\u8b49<\/li>\n<p>             <a href=\"https:\/\/letsencrypt.org\/zh-tw\/getting-started\/\" rel=\"noopener\" target=\"_blank\">https:\/\/letsencrypt.org\/zh-tw\/getting-started\/<\/a><\/p>\n<li class=\"present01\">Certbot Instructions<\/li>\n<p>             <a href=\"https:\/\/certbot.eff.org\/instructions?ws=apache&#038;os=centosrhel7\" rel=\"noopener\" target=\"_blank\">https:\/\/certbot.eff.org\/instructions?ws=apache&#038;os=centosrhel7<\/a><\/p>\n<li class=\"present01\">User Guide &#8212; Certbot 1.29.0 documentation<\/li>\n<p>             <a href=\"https:\/\/eff-certbot.readthedocs.io\/en\/stable\/using.html#apache\" rel=\"noopener\" target=\"_blank\">https:\/\/eff-certbot.readthedocs.io\/en\/stable\/using.html#apache<\/a><\/p>\n<li class=\"present01\">RHEL \/ CentOS 7 \u5b89\u88dd Let&#8217;s encrypt<\/li>\n<p>             <a href=\"https:\/\/www.ltsplus.com\/linux\/rhel-centos-7-install-lets-encrypt\" rel=\"noopener\" target=\"_blank\">https:\/\/www.ltsplus.com\/linux\/rhel-centos-7-install-lets-encrypt<\/a><\/p>\n<li class=\"present01\">\u89e3\u6790 Certbot\uff08Let&#8217;s encrypt\uff09\u4f7f\u7528\u65b9\u5f0f<\/li>\n<p>            <a href=\"https:\/\/andyyou.github.io\/2019\/04\/13\/how-to-use-certbot\/\" rel=\"noopener\" target=\"_blank\"> https:\/\/andyyou.github.io\/2019\/04\/13\/how-to-use-certbot\/<\/a><\/p>\n<li class=\"present01\">\u5982\u4f55\u4f7f\u7528certbot\u81ea\u52d5\u66f4\u65b0SSL\u6191\u8b49 (CentOS 6,7,8, Ubuntu) <\/li>\n<p>            <a href=\"https:\/\/www.brilliantcode.net\/941\/how-to-renew-ssl-certificates-automatically-by-certbot\/\" rel=\"noopener\" target=\"_blank\">https:\/\/www.brilliantcode.net\/941\/how-to-renew-ssl-certificates-automatically-by-certbot\/<\/a><\/p>\n<li class=\"present01\">\u5982\u4f55\u4f7f\u7528 Certbot \u547d\u4ee4\u5217\u5de5\u5177\u5efa\u7acb\u514d\u8cbb\u7684 TLS\/SSL \u9802\u5c64\u7db2\u57df\u6191\u8b49<\/li>\n<p>            <a href=\"https:\/\/blog.miniasp.com\/post\/2021\/02\/11\/Create-SSL-TLS-certificates-from-LetsEncrypt-using-Certbot\" rel=\"noopener\" target=\"_blank\">https:\/\/blog.miniasp.com\/post\/2021\/02\/11\/Create-SSL-TLS-certificates-from-LetsEncrypt-using-Certbot<\/a><\/p>\n<li class=\"present01\">HTTPS \u7c21\u4ecb\u53ca\u4f7f\u7528\u5b98\u65b9\u5de5\u5177 Certbot \u914d\u7f6e Let\u2019s Encrypt SSL \u5b89\u5168\u8b49\u66f8\u8a73\u7d30\u6559\u7a0b<\/li>\n<p>            <a href=\"https:\/\/linuxstory.org\/deploy-lets-encrypt-ssl-certificate-with-certbot\/zh-tw\/\" rel=\"noopener\" target=\"_blank\">https:\/\/linuxstory.org\/deploy-lets-encrypt-ssl-certificate-with-certbot\/zh-tw\/<\/a><\/p>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u65e9\u5c31\u8a72\u9762\u5c0d\u8207\u5b78\u7fd2\u89e3\u6c7a\u7684\u554f\u984c\uff0c\u9019\u4e00\u5929\uff0c\u7d42\u7a76\u9084\u662f\u4f86\u4e86\u3002 \u56e0\u70ba\u8cc7\u5b89\u4ee5\u53ca\u4e00\u4e9b\u8b70\u984c\uff0c\u6240\u4ee5\u7db2\u7ad9 <a class=\"more-link\" href=\"https:\/\/yowlab.idv.tw\/wordpress\/?p=1390\">Continue reading <span class=\"screen-reader-text\">  \u4f7f\u7528 Certbot \u4f86\u70ba\u7db2\u7ad9\u7533\u8acb Let&#8217;s  Encrtpt \u6191\u8b49 (CentOS 7)<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[59,60,61],"class_list":["post-1390","post","type-post","status-publish","format-standard","hentry","category-3","tag-certbot","tag-lets-encrypt","tag-ssl"],"_links":{"self":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1390"}],"version-history":[{"count":48,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1390\/revisions"}],"predecessor-version":[{"id":3672,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1390\/revisions\/3672"}],"wp:attachment":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}