{"id":2790,"date":"2022-01-28T16:36:16","date_gmt":"2022-01-28T08:36:16","guid":{"rendered":"https:\/\/tygtw.ddns.net\/?p=2790"},"modified":"2022-01-28T16:36:16","modified_gmt":"2022-01-28T08:36:16","slug":"tygtw-ddns-net%e6%9b%b4%e6%96%b0ssl%e5%ae%89%e5%85%a8%e6%86%91%e8%ad%89%e8%87%b32022-4-27","status":"publish","type":"post","link":"https:\/\/tygtw.ddns.net\/wordpress\/?p=2790","title":{"rendered":"tygtw.ddns.net\u66f4\u65b0ssl\u5b89\u5168\u6191\u8b49\u81f32022\/4\/27"},"content":{"rendered":"<p>tygtw.ddns.net\u66f4\u65b0ssl\u5b89\u5168\u6191\u8b49\u81f32022\/4\/27<\/p>\n<p>\u539fssl\u5b89\u5168\u6191\u8b49\u7533\u8acb https:\/\/manage.sslforfree.com\/dashboard \u514d\u8cbb\u671f\u5df2\u904e\uff0c\u4ed8\u8cbb\u57fa\u672c\u7248\u672c\u6bcf\u6708\u7d04\u53f0\u5e63280\u5143(10\u5143\u7f8e\u91d1)\uff0c\u56e0\u6b64\u6539\u7528\u514d\u8cbb\u7684<a href=\"https:\/\/letsencrypt.osfipin.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/letsencrypt.osfipin.com\/<\/a><\/p>\n<p>\u7533\u8acb\u5f8c\uff0c\u89e3\u58d3\u7e2e\u6191\u8b49\u6a94\u6848\uff0c\u5c07fullchain.crt\u8207private.pem\u4e0a\u50b3\u81f3\u81ea\u8a02\u8def\u5f91\uff0c\u4f8b\u5982\uff1a\/etc\/httpd\/conf\/ssl<\/p>\n<p>\u4fee\u6539<br \/>\n\/etc\/httpd\/conf.d \u4e0bssl.conf (Fedora 2X\u7248\u9810\u8a2d\u8def\u5f91)<\/p>\n<p>\u65b0\u589e<\/p>\n<p>SSLCertificateFile \/etc\/httpd\/conf\/ssl\/fullchain.crt<br \/>\nSSLCertificateKeyFile \/etc\/httpd\/conf\/ssl\/private.pem<\/p>\n<p>\u91cd\u555fapache service httpd restart<\/p>\n<p>&nbsp;<\/p>\n<p>===========<\/p>\n<p>\u5b98\u7db2\u6240\u63d0\u4f9b\u8a2d\u5b9a\u8a0a\u606f\u50c5\u4f9b\u53c3\u8003\uff0cssl.conf\u6a94\u8a2d\u5b9a\u9808\u4f9d\u672c\u8eab\u4f3a\u670d\u5668\u7248\u672c\u8abf\u6574\u3002<\/p>\n<p># \u901a\u7528\u6027<br \/>\nSSLProtocol all -SSLv3 -TLSv1 -TLSv1.1<br \/>\nSSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384<br \/>\nSSLHonorCipherOrder off<br \/>\nSSLSessionTickets off<\/p>\n<p># \u5f00\u542f OCSP Stapling(\u5efa\u8bae)<br \/>\nSSLUseStapling On<br \/>\nSSLStaplingCache &#8220;shmcb:logs\/ssl_stapling(32768)&#8221;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/tygtw.ddns.net\/wp-content\/uploads\/2022\/01\/20220128-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2791\" src=\"https:\/\/tygtw.ddns.net\/wp-content\/uploads\/2022\/01\/20220128-1.jpg\" alt=\"\" width=\"475\" height=\"593\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>tygtw.ddns.net\u66f4\u65b0ssl\u5b89\u5168\u6191\u8b49\u81f32&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"h5ap_radio_sources":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2790","post","type-post","status-publish","format-standard","hentry","category-uncategorized","wpcat-1-id"],"_links":{"self":[{"href":"https:\/\/tygtw.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tygtw.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tygtw.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tygtw.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tygtw.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2790"}],"version-history":[{"count":0,"href":"https:\/\/tygtw.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2790\/revisions"}],"wp:attachment":[{"href":"https:\/\/tygtw.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tygtw.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tygtw.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}