{"id":17628,"date":"2023-04-21T11:32:11","date_gmt":"2023-04-21T03:32:11","guid":{"rendered":"https:\/\/www.yimenapp.com\/kb-yimen\/?p=17628"},"modified":"2023-04-21T11:32:11","modified_gmt":"2023-04-21T03:32:11","slug":"%e5%a6%82%e4%bd%95%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6%e8%a5%bf%e9%83%a8%e6%95%b0%e7%a0%81%e5%85%8d%e8%b4%b9%e8%af%81%e4%b9%a6%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenapp.com\/kb-yimen\/17628\/","title":{"rendered":"\u5982\u4f55\u7533\u8bf7ssl\u8bc1\u4e66\u897f\u90e8\u6570\u7801\u514d\u8d39\u8bc1\u4e66\uff1f"},"content":{"rendered":"<p>SSL<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e8%af%81%e4%b9%a6\/\" title=\"\u8bc1\u4e66\" target=\"_blank\">\u8bc1\u4e66<\/a><\/span>\u662f\u4e00\u79cd\u7528\u4e8e\u52a0\u5bc6<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/wangzhan\/\" title=\"\u7f51\u7ad9\" target=\"_blank\">\u7f51\u7ad9<\/a><\/span>\u6d41\u91cf\u7684\u6570\u5b57\u8bc1\u4e66\u3002\u5b83\u53ef\u4ee5\u589e\u52a0\u7f51\u7ad9\u7684\u5b89\u5168\u6027\uff0c\u4fdd\u62a4\u7528\u6237\u7684\u9690\u79c1\u548c\u654f\u611f\u4fe1\u606f\u3002\u897f\u90e8\u6570\u7801\u662f\u56fd\u5185\u77e5\u540d\u7684SSL\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u4e4b\u4e00\uff0c\u5b83\u63d0\u4f9b\u4e86\u591a\u79cd<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e7%b1%bb%e5%9e%8b\/\" title=\"\u7c7b\u578b\" target=\"_blank\">\u7c7b\u578b<\/a><\/span>\u7684SSL\u8bc1\u4e66\uff0c\u5305\u62ecDV SSL\u8bc1\u4e66\u3001OV SSL\u8bc1\u4e66\u548cEV SSL\u8bc1\u4e66\u7b49\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd\u5982\u4f55\u7533\u8bf7\u897f\u90e8\u6570\u7801\u7684SSL\u8bc1\u4e66\u3002<\/p>\n<p>\u4e00\u3001\u9009\u62e9SSL\u8bc1\u4e66\u7c7b\u578b<\/p>\n<p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u9009\u62e9\u9002\u5408\u4f60\u7f51\u7ad9\u7684SSL\u8bc1\u4e66\u7c7b\u578b\u3002\u897f\u90e8\u6570\u7801\u63d0\u4f9b\u7684\u4e09\u79cd\u4e3b\u8981\u7c7b\u578b\u7684SSL\u8bc1\u4e66\u662f\uff1a<\/p>\n<p>1. DV SSL\u8bc1\u4e66\uff1a\u5b83\u9a8c\u8bc1\u4f60\u662f\u5426\u662f\u7f51\u7ad9\u7684\u6240\u6709\u8005\uff0c\u5e76\u52a0\u5bc6\u7f51\u7ad9\u6d41\u91cf\uff0c\u4ee5\u4fdd\u62a4\u7528\u6237\u7684\u9690\u79c1\u548c\u654f\u611f\u4fe1\u606f\u3002\u8fd9\u79cd\u8bc1\u4e66\u9002\u5408\u5c0f\u578b\u7f51\u7ad9\u548c\u4e2a\u4eba\u535a\u5ba2\u7b49\u3002<\/p>\n<p>2. OV SSL\u8bc1\u4e66\uff1a\u5b83\u4e0d\u4ec5\u9a8c\u8bc1\u4f60\u662f\u5426\u662f\u7f51\u7ad9\u7684\u6240\u6709\u8005\uff0c\u8fd8\u9a8c\u8bc1\u4f60\u7684\u516c\u53f8\u6216\u7ec4\u7ec7\u662f\u5426\u5b58\u5728\uff0c\u5e76\u52a0\u5bc6\u7f51\u7ad9\u6d41\u91cf\u3002\u8fd9\u79cd\u8bc1\u4e66\u9002\u5408\u4e2d\u578b\u7f51\u7ad9\u548c\u4f01\u4e1a\u7f51\u7ad9\u7b49\u3002<\/p>\n<p>3. EV SSL\u8bc1\u4e66\uff1a\u5b83\u9a8c\u8bc1\u4f60\u662f\u5426\u662f\u7f51\u7ad9\u7684\u6240\u6709\u8005\uff0c\u9a8c\u8bc1\u4f60\u7684\u516c\u53f8\u6216\u7ec4\u7ec7\u662f\u5426\u5b58\u5728\uff0c\u8fd8\u9a8c\u8bc1\u4f60\u7684\u516c\u53f8\u6216\u7ec4\u7ec7\u662f\u5426\u6709\u5408\u6cd5\u7684\u7ecf\u8425\u8d44\u8d28\uff0c\u5e76\u52a0\u5bc6\u7f51\u7ad9\u6d41\u91cf\u3002\u8fd9\u79cd\u8bc1\u4e66\u9002\u5408\u5927\u578b\u4f01\u4e1a\u548c\u7535\u5b50\u5546\u52a1\u7f51\u7ad9\u7b49\u3002<\/p>\n<p>\u4e8c\u3001\u751f\u6210CSR<\/p>\n<p>\u5728\u7533\u8bf7SSL\u8bc1\u4e66\u4e4b\u524d\uff0c\u4f60\u9700\u8981\u751f\u6210\u4e00\u4e2aCSR\uff08Certificate Signing Request\uff0c\u8bc1\u4e66\u7b7e\u540d\u8bf7\u6c42\uff09\u3002CSR\u5305\u542b\u6709\u5173\u4f60\u7684\u7f51\u7ad9\u548c\u516c\u53f8\u7684\u4fe1\u606f\uff0c\u5982\u7f51\u7ad9\u540d\u79f0\u3001\u7f51\u7ad9\u57df\u540d\u3001\u516c\u53f8\u540d\u79f0\u3001\u516c\u53f8\u5730\u5740\u7b49\u3002\u751f\u6210CSR\u7684\u65b9\u6cd5\u56e0\u670d\u52a1\u5668\u800c\u5f02\uff0c\u8fd9\u91cc\u4ee5Apache\u670d\u52a1\u5668\u4e3a\u4f8b\uff1a<\/p>\n<p>1. \u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr<\/p>\n<p>&#8220;`<\/p>\n<p>2. \u6839\u636e\u63d0\u793a\u8f93\u5165\u4f60\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u56fd\u5bb6\u3001\u7701\u4efd\u3001\u57ce\u5e02\u3001\u7ec4\u7ec7\u540d\u79f0\u3001\u7ec4\u7ec7\u5355\u4f4d\u540d\u79f0\u3001\u516c\u5171\u540d\u79f0\uff08\u5373\u4f60\u7684\u7f51\u7ad9\u57df\u540d\uff09\u548c\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u7b49\u3002<\/p>\n<p>3. \u751f\u6210\u7684CSR\u548c\u79c1\u94a5\u5c06\u5b58\u50a8\u5728\u4f60\u6307\u5b9a\u7684\u76ee\u5f55\u4e2d\u3002<\/p>\n<p>\u4e09\u3001\u8d2d\u4e70SSL\u8bc1\u4e66<\/p>\n<p>\u751f\u6210CSR\u540e\uff0c\u4f60\u53ef\u4ee5\u524d\u5f80\u897f\u90e8\u6570\u7801\u7684\u5b98\u7f51\u8d2d\u4e70SSL\u8bc1\u4e66\u3002\u5728\u8d2d\u4e70\u9875\u9762\u4e0a\uff0c\u4f60\u9700\u8981\u9009\u62e9\u8bc1\u4e66\u7c7b\u578b\u3001\u8bc1\u4e66\u671f\u9650\u548c\u670d\u52a1\u5668\u7c7b\u578b\u7b49\u4fe1\u606f\uff0c\u5e76\u4e0a\u4f20\u4f60\u7684CSR\u6587\u4ef6\u3002\u897f<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/29\/17\/22061494270.jpg\" \/><\/figure><\/p>\n<p>\u90e8\u6570\u7801\u5c06\u9a8c\u8bc1\u4f60\u7684\u4fe1\u606f\uff0c\u5e76\u5728\u9a8c\u8bc1\u901a\u8fc7\u540e\u5411\u4f60\u9881\u53d1SSL\u8bc1\u4e66\u3002<\/p>\n<p>\u56db\u3001\u5b89\u88c5SSL\u8bc1\u4e66<\/p>\n<p>\u8d2d\u4e70SSL\u8bc1\u4e66\u540e\uff0c\u4f60\u9700\u8981\u5c06\u8bc1\u4e66\u5b89\u88c5\u5230\u4f60\u7684\u670d\u52a1\u5668\u4e0a\u3002\u5b89\u88c5\u65b9\u6cd5\u56e0\u670d\u52a1\u5668\u800c\u5f02\uff0c\u8fd9\u91cc\u4ee5Apache\u670d\u52a1\u5668\u4e3a\u4f8b\uff1a<\/p>\n<p>1. \u5c06\u4f60\u7684SSL\u8bc1\u4e66\u548c\u79c1\u94a5\u6587\u4ef6\u4e0a\u4f20\u5230\u670d\u52a1\u5668\u4e0a\u3002<\/p>\n<p>2. \u6253\u5f00Apache\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u627e\u5230SSL\u6a21\u5757\u5e76\u542f\u7528\u5b83\u3002<\/p>\n<p>3. \u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p><p>    ServerName yourdomain.com<\/p>\n<p>    SSLEngine on<\/p>\n<p>    SSLCertificateFile \/path\/to\/yourdomain.crt<\/p>\n<p>    SSLCertificateKeyFile \/path\/to\/yourdomain.key<\/p>\n<\/p>\n<p>&#8220;`<\/p>\n<p>4. \u4fdd\u5b58\u914d\u7f6e\u6587\u4ef6\u5e76\u91cd\u65b0\u542f\u52a8Apache\u670d\u52a1\u5668\u3002<\/p>\n<p>\u4e94\u3001\u6d4b\u8bd5SSL\u8bc1\u4e66<\/p>\n<p>\u5b89\u88c5\u5b8cSSL\u8bc1\u4e66\u540e\uff0c\u4f60\u9700\u8981\u6d4b\u8bd5\u5b83\u662f\u5426\u6b63\u5e38\u5de5\u4f5c\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528SSL\u68c0\u6d4b\u5de5\u5177\u6765\u68c0\u67e5\u4f60\u7684SSL\u8bc1\u4e66\u662f\u5426\u5b58\u5728\u4efb\u4f55\u95ee\u9898\u3002<\/p>\n<p>\u603b\u7ed3\uff1a\u901a\u8fc7\u4ee5\u4e0a<a href=\"https:\/\/www.yimenssl.cn\/ssl-shenqing-1893.html\">ad\u57dfssl\u8bc1\u4e66\u7533\u8bf7<\/a>\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u6210\u529f\u7533\u8bf7\u548c\u5b89\u88c5\u897f\u90e8\u6570\u7801\u7684SSL\u8bc1\u4e66\uff0c\u589e\u5f3a\u4f60\u7f51\u7ad9\u7684\u5b89\u5168\u6027\u548c\u4fe1\u4efb\u5ea6\uff0c\u4fdd\u62a4\u7528\u6237\u7684\u9690\u79c1\u548c\u654f\u611f\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSL\u8bc1\u4e66\u662f\u4e00\u79cd\u7528\u4e8e\u52a0\u5bc6\u7f51\u7ad9\u6d41\u91cf\u7684\u6570\u5b57\u8bc1\u4e66\u3002\u5b83\u53ef\u4ee5\u589e\u52a0\u7f51\u7ad9\u7684\u5b89\u5168\u6027\uff0c\u4fdd\u62a4\u7528\u6237\u7684\u9690\u79c1\u548c\u654f\u611f\u4fe1\u606f\u3002\u897f\u90e8\u6570\u7801\u662f\u56fd\u5185\u77e5\u540d\u7684SSL\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u4e4b\u4e00\uff0c\u5b83\u63d0\u4f9b\u4e86\u591a\u79cd\u7c7b\u578b\u7684SSL\u8bc1\u4e66\uff0c\u5305\u62ecDV SSL\u8bc1\u4e66\u3001OV S<\/p>\n","protected":false},"author":26,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1481],"tags":[9571,4682,110,3560,9572],"special":[],"attr":[],"class_list":{"0":"post-17628","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-ssl","7":"tag-https","8":"tag-4682","9":"tag-wangzhan","10":"tag-3560","12":"entry"},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/17628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/comments?post=17628"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/17628\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/media?parent=17628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/categories?post=17628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/tags?post=17628"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/special?post=17628"},{"taxonomy":"attr","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/attr?post=17628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}