{"id":423325,"date":"2021-04-01T09:04:26","date_gmt":"2021-04-01T01:04:26","guid":{"rendered":"http:\/\/4563.org\/?p=423325"},"modified":"2021-04-01T09:04:26","modified_gmt":"2021-04-01T01:04:26","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8%e4%bd%bf%e7%94%a8-cloudflare-%e7%9a%84%e5%9f%ba%e7%a1%80%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%8f%8c%e5%90%91-tls-%e9%aa%8c%e8%af%81","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=423325","title":{"rendered":"\u5982\u4f55\u5728\u4f7f\u7528 cloudflare \u7684\u57fa\u7840\u4e0a\u8fdb\u884c\u53cc\u5411 tls \u9a8c\u8bc1"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5982\u4f55\u5728\u4f7f\u7528 cloudflare \u7684\u57fa\u7840\u4e0a\u8fdb\u884c\u53cc\u5411 tls \u9a8c\u8bc1               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sxbxjhwm <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u516c\u53f8\u6709\u4e00\u9879\u4e1a\u52a1\u4f7f\u7528\u4e86\u53cc\u5411 tls \u9a8c\u8bc1\u5ba2\u6237\u7684\u8eab\u4efd\uff0c\u73b0\u5728\u4e3a\u4e86\u907f\u514d\u906d\u53d7\u653b\u51fb\u9700\u8981\u914d\u7f6e cdn \u3002<\/p>\n<p>\u4f46\u914d\u7f6e\u4e86\u4ee5\u540e\u53d1\u73b0\u670d\u52a1\u4e00\u76f4\u54cd\u5e94 <code>400 The SSL certificate error<\/code>\uff0c\u76f4\u63a5\u643a\u5e26\u5ba2\u6237\u7aef\u8bc1\u4e66\u8bf7\u6c42\u6e90\u7ad9\u6ca1\u6709\u95ee\u9898\u3002\u67e5\u9605\u4e86\u6587\u6863 Managing Cloudflare Origin CA certificates \u540e\u53d1\u73b0\u53ef\u80fd\u662f cloudflare \u4ee5\u4e3a\u6211\u9700\u8981\u4fdd\u8bc1\u4ed6\u4eec\u5230\u6e90\u670d\u52a1\u5668\u4e4b\u95f4\u8fde\u63a5\u7684\u5b89\u5168\uff0c\u5411\u6211\u4eec\u53d1\u9001\u4e86 cf \u81ea\u5df1\u7684\u5ba2\u6237\u7aef\u8bc1\u4e66\u3002\u3002\u3002<\/p>\n<p>\u60f3\u77e5\u9053\u5404\u4f4d\u6709\u6ca1\u6709\u7c7b\u4f3c\u7684\u5e94\u7528\uff0c\u6b63\u786e\u914d\u7f6e cf \u7684\u59ff\u52bf\u662f\u600e\u4e48\u6837\u7684\uff1f\u5982\u679c cf \u6ca1\u6709\u652f\u6301\uff0c\u8fd8\u6709\u6ca1\u6709\u522b\u7684 cdn \u670d\u52a1\u63d0\u4f9b\u5546\u652f\u6301\u53cc\u5411 tls \u8ba4\u8bc1\uff1f\u87f9\u87f9<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>9<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5620477\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ryd994 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             CDN \u7684\u5de5\u4f5c\u65b9\u5f0f\u5c31\u662f\u4e00\u79cd\u4e2d\u95f4\u4eba<br \/>\u6240\u4ee5\u4f60\u60f3\u8981\u53cc\u5411\u8ba4\u8bc1\u662f\u505a\u4e0d\u5230\u7684\uff0c\u5426\u5219 CDN \u8fd8\u600e\u4e48\u7f13\u5b58\u6570\u636e\uff1f<\/p>\n<p>cloudflare \u6709\u4e00\u79cd keyless mode\uff0c\u80fd\u591f\u5728\u4e0d\u6301\u6709\u79c1\u94a5\uff0c\u4e0d\u5f71\u54cd\u63e1\u624b\u7684\u60c5\u51b5\u4e0b\u89e3\u5bc6\u6570\u636e\u3002\u4f46\u662f\u4e0d\u77e5\u9053\u662f\u5426\u80fd\u652f\u6301\u53cc\u5411\u3002\u5efa\u8bae\u4f60\u5411 cloudflare \u5ba2\u670d\u54a8\u8be2\u3002\u8fd9\u662f\u4f01\u4e1a\u7248\u529f\u80fd\uff0c\u4ef7\u94b1\u80af\u5b9a\u4e0d\u4fbf\u5b9c                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620478\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : eason1874 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             cf \u7684\u4e0d\u4e86\u89e3\uff0c\u767e\u5ea6\u667a\u80fd\u4e91 CDN \u548c\u963f\u91cc\u4e91 CDN \u652f\u6301\uff0c\u53ef\u4ee5\u8bd5\u8bd5\u3002\u963f\u91cc\u4e91\u7684\u6ca1\u5f00\u653e\u63a7\u5236\u53f0\u81ea\u52a9\u914d\u7f6e\uff0c\u8981\u63d0\u4ea4\u5de5\u5355\u95ee\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620479\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ruixue <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             cloudflare \u53ef\u4ee5\u914d\u7f6e\u5ba2\u6237\u7aef\u8bc1\u4e66\uff0c\u4f46\u662f\u9700\u8981\u7528 cloudflare \u7684 CA \u6765\u7b7e\u53d1\uff0c\u65e0\u6cd5\u4f7f\u7528\u81ea\u5df1\u7684 CA<br \/>https:\/\/developers.cloudflare.com\/ssl\/client-certificates                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620480\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 9yu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u505a\u5230\uff0cTLS Passthough \u6a21\u5f0f\uff0c\u9ad8\u7ea7\u7248\u6216\u4f01\u4e1a\u7248\u624d\u6709\u3002<br \/>https:\/\/developers.cloudflare.com\/spectrum\/                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620481\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ZeroClover <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/developers.cloudflare.com\/cloudflare-one\/identity\/devices\/mutual-tls-authentication                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620482\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sxbxjhwm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ruixue @ZeroClover \u4e0d\u592a\u653e\u5fc3\u628a\u5ba2\u6237 dn \u4fe1\u606f\u653e cf<\/p>\n<p>@9yu \u4e86\u89e3\u4e86\u6211\u770b\u4e00\u4e0b\u8c22\u8c22                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620483\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sxbxjhwm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @eason1874                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620484\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : eason1874 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sxbxjhwm \u4e0d\u5982\u7b80\u5355\u6539\u9020\u4e00\u4e0b\u4e1a\u52a1\u9002\u5e94 Cloudflare \u3002<\/p>\n<p>\u53cc\u5411 TLS \u9a8c\u8bc1\u73af\u8282\u72ec\u7acb\u51fa\u6765\u505a\u4e00\u4e2a\u767b\u5f55\u670d\u52a1\uff0c\u90e8\u7f72\u5728\u81ea\u5df1\u7684\u670d\u52a1\u5668\u6216\u8005\u4e9a\u9a6c\u900a\u3001\u963f\u91cc\u4e91\u7684 API \u7f51\u5173\uff08\u8fd9\u4e9b\u652f\u6301 HTTPS \u53cc\u5411\u8ba4\u8bc1\uff09\uff0c\u7528\u6237\u8bc1\u4e66\u9a8c\u8bc1\u540e\u5e26\u4ee4\u724c\u8df3\u8f6c\u8bbf\u95ee\u5728 Cloudflare \u7684\u4e1a\u52a1\u57df\u540d\u3002<\/p>\n<p>\u4e1a\u52a1\u57df\u540d\u901a\u8fc7 Cloudflare Workers \u7684\u8fb9\u7f18\u811a\u672c\u9a8c\u8bc1\u4ee4\u724c\uff0c\u901a\u8fc7\u624d\u628a\u8bf7\u6c42\u8f6c\u5230\u540e\u7aef\u3002\u4ee4\u724c\u53ef\u4ee5\u662f JWT\uff0c\u4e5f\u53ef\u4ee5\u5141\u8bb8\u540a\u9500\uff0cWorkers \u652f\u6301 KV \u952e\u503c\u5b58\u50a8\u3002Workers \u4e5f\u4e0d\u8d35\uff0c\u6bcf\u5929 10 \u4e07\u6b21\u514d\u8d39\uff0c\u4ed8\u8d39\u6700\u4f4e $5\/mo \u652f\u6301\u4e00\u5343\u4e07\u8bf7\u6c42\u4e86\u3002<\/p>\n<p>\u8fd9\u6837\u4e3b\u4e1a\u52a1\u4f9d\u7136\u53d7 Cloudflare \u9632\u62a4\uff0c\u4e07\u4e00\u767b\u5f55\u670d\u52a1\u88ab\u653b\u51fb\uff0c\u4e34\u65f6\u4e0d\u80fd\u767b\u5f55\u4e5f\u4e0d\u5f71\u54cd\u5df2\u767b\u5f55\u7528\u6237\uff0c\u5f71\u54cd\u4e0d\u4f1a\u592a\u5927\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620485\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sxbxjhwm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @eason1874 \u597d\u50cf\u633a\u6709\u610f\u601d\u7684\uff0c\u6211\u53bb\u7814\u7a76\u7814\u7a76\uff0c\u4f30\u8ba1\u6539\u9020\u8d77\u6765\u633a\u9ebb\u70e6\u7684\uff0c\u90a3\u4e1a\u52a1\u4e00\u534a\u90fd\u662f\u64cd\u4f5c\u8bc1\u4e66\u7684\uff0c\u672c\u8eab\u6709\u4e00\u5957\u7684\u7b7e\u53d1\u540a\u9500\u7eed\u7b7e\u529f\u80fd\uff0c\u6539\u7684\u8bdd\u4f30\u8ba1\u90fd\u5f97\u6539\u6210\u8c03 api                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u4f55\u5728\u4f7f\u7528 cloudflare &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/423325"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=423325"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/423325\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=423325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=423325"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=423325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}