{"id":405,"date":"2023-07-10T16:06:18","date_gmt":"2023-07-10T08:06:18","guid":{"rendered":"http:\/\/idc.birk.cn\/?p=405"},"modified":"2023-07-10T16:06:18","modified_gmt":"2023-07-10T08:06:18","slug":"centos-7-%e6%9b%b4%e6%96%b0-cacert-%e8%af%81%e4%b9%a6","status":"publish","type":"post","link":"https:\/\/idc.birk.cn\/?p=405","title":{"rendered":"CENTOS 7 \u66f4\u65b0 CACERT \u8bc1\u4e66"},"content":{"rendered":"<header class=\"entry-header\"><\/header>\n<div class=\"entry-content\">\n<p>centos\u5728\u4f7f\u7528curl\u6216\u8005wget\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u4e86\u4e00\u4e2a SSL \u8bc1\u4e66\u9519\u8bef\uff1a<\/p>\n<pre class=\"wp-block-code prettyprint\"><code>Could not do request to updater server: SSL certificate problem: certificate has expired<\/code><\/pre>\n<p>\u8054\u60f3\u5230\u4e0d\u4e45\u524d\u7684 Let\u2019s Encrypt \u6839\u8bc1\u4e66\u8fc7\u671f\uff0c\u6240\u4ee5\u6211\u4f30\u8ba1\u662f\u670d\u52a1\u5668\u4e0a\u7684 ca \u8bc1\u4e66\u8fc7\u671f\u4e86\uff0c\u6240\u4ee5\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u66f4\u65b0\u670d\u52a1\u5668\u4e0a\u7684 ca \u8bc1\u4e66<\/p>\n<pre class=\"wp-block-code prettyprint lang-bash\"><code>yum install ca-certificates\r\nupdate-ca-trust force-enable\r\nupdate-ca-trust extract<\/code><\/pre>\n<p>&nbsp;<\/p>\n<ul>\n<li>https:\/\/manuals.gfi.com\/en\/kerio\/connect\/content\/server-configuration\/ssl-certificates\/adding-trusted-root-certificates-to-the-server-1605.html<\/li>\n<li>https:\/\/curl.se\/docs\/caextract.html<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>centos\u5728\u4f7f\u7528curl\u6216\u8005wget\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u4e86\u4e00\u4e2a SSL \u8bc1\u4e66\u9519\u8bef\uff1a Could not do request to updater server: SSL certificate problem: certificate has  [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,21],"tags":[],"topic":[37,40],"class_list":["post-405","post","type-post","status-publish","format-standard","hentry","category-8","category-21","topic-linux","topic-40"],"_links":{"self":[{"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/posts\/405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=405"}],"version-history":[{"count":1,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/posts\/405\/revisions"}],"predecessor-version":[{"id":406,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/posts\/405\/revisions\/406"}],"wp:attachment":[{"href":"https:\/\/idc.birk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=405"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}