{"id":2148,"date":"2023-04-02T13:22:05","date_gmt":"2023-04-02T05:22:05","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=2148"},"modified":"2023-04-05T19:53:12","modified_gmt":"2023-04-05T11:53:12","slug":"nginx-disable-tls-1-0-and-tls-1-1-to-make-websites-more-secure","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/04\/02\/nginx-disable-tls-1-0-and-tls-1-1-to-make-websites-more-secure\/","title":{"rendered":"Nginx\u7981\u7528TLS1.0\u548cTLS1.1\u4f7f\u7f51\u7ad9\u66f4\u5b89\u5168"},"content":{"rendered":"<h2>\u4e3a\u4ec0\u4e48\u8981\u7981\u7528 TLS1.0\u3001TLS1.1<\/h2>\n<p>SSL \u7531\u4e8e\u4ee5\u5f80\u53d1\u73b0\u7684\u6f0f\u6d1e\uff0c\u5df2\u7ecf\u88ab\u8bc1\u5b9e\u4e0d\u5b89\u5168\u3002\u800c TLS1.0 \u4e0e SSL3.0 \u7684\u533a\u522b\u5b9e\u9645\u4e0a\u5e76\u4e0d\u592a\u591a\uff0c\u5e76\u4e14 TLS1.0 \u53ef\u4ee5\u901a\u8fc7\u67d0\u4e9b\u65b9\u5f0f\u88ab\u5f3a\u5236\u964d\u7ea7\u4e3a SSL3.0<\/p>\n<p>\u7531\u6b64\uff0c\u652f\u4ed8\u5361\u884c\u4e1a\u5b89\u5168\u6807\u51c6\u59d4\u5458\u4f1a\uff08PCI SSC\uff09\u5f3a\u5236\u53d6\u6d88\u4e86\u652f\u4ed8\u5361\u884c\u4e1a\u5bf9 TLS 1.0 \u7684\u652f\u6301\uff0c\u540c\u65f6\u5f3a\u70c8\u5efa\u8bae\u53d6\u6d88\u5bf9 TLS 1.1 \u7684\u652f\u6301<\/p>\n<p><!-- more --><\/p>\n<p>\u82f9\u679c\u3001\u8c37\u6b4c\u3001\u5fae\u8f6f\u3001Mozilla \u4e5f\u53d1\u8868\u4e86\u58f0\u660e\uff0c\u5c06\u4e8e 2020 \u5e74\u521d\u653e\u5f03\u5bf9 TLS 1.1 \u548c TLS 1.0 \u7684\u652f\u6301\u3002\u5176\u539f\u56e0\u662f\u8fd9\u4e24\u4e2a\u7248\u672c\u4f7f\u7528\u7684\u662f\u8fc7\u65f6\u7684\u7b97\u6cd5\u548c\u52a0\u5bc6\u7cfb\u7edf\uff0c\u7ecf\u53d1\u73b0\uff0c\u8fd9\u4e9b\u7b97\u6cd5\u548c\u7cfb\u7edf\u662f\u5341\u5206\u8106\u5f31\u7684\uff0c\u6bd4\u5982 SHA-1 \u548c MD5\u3002\u5b83\u4eec\u4e5f\u7f3a\u4e4f\u50cf\u5b8c\u7f8e\u7684\u524d\u5411\u4fdd\u5bc6\u6027\u8fd9\u6837\u7684\u73b0\u4ee3\u7279\u5f81\uff0c\u5e76\u4e14\u5bb9\u6613\u53d7\u5230\u964d\u7ea7\u653b\u51fb\u7684\u5f71\u54cd\u3002<\/p>\n<h2>\u5728Nginx\u4e0a\u7981\u7528TLS1.0\u3001TLS1.1<\/h2>\n<p>\u7f16\u8f91Nginx\u914d\u7f6e\u6587\u4ef6\uff0c\u539f\u914d\u7f6e\u6587\u4ef6\u4e3a\uff1a<\/p>\n<pre><code class=\"language-bash\">ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\nssl_ciphers   TLS13-AES-256-GCM-SHA384;<\/code><\/pre>\n<p>\u53bb\u6389 TLSv1 TLSv1.1 \u540e\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-bash\">ssl_protocols TLSv1.2 TLSv1.3;\nssl_ciphers   TLS13-AES-256-GCM-SHA384;<\/code><\/pre>\n<p>\u4fdd\u5b58\u5e76\u91cd\u65b0\u542f\u52a8NGINX\u4f7f\u6539\u52a8\u751f\u6548\u3002<\/p>\n<h2>\u5b89\u5168\u8bc4\u7ea7<\/h2>\n<p>\u8bbf\u95ee <a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/myssl.com\">https:\/\/myssl.com<\/a> \u68c0\u6d4b\u662f\u5426\u4fee\u6539\u6210\u529f\uff0c\u6210\u529f\u540e\u8bc4\u7ea7\u4e3aA+<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4ec0\u4e48\u8981\u7981\u7528 TLS1.0\u3001TLS1.1 SSL \u7531\u4e8e\u4ee5\u5f80\u53d1\u73b0\u7684\u6f0f\u6d1e\uff0c\u5df2\u7ecf\u88ab\u8bc1\u5b9e\u4e0d\u5b89\u5168\u3002\u800c TLS1.0 \u4e0e  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[332],"tags":[335,546],"class_list":["post-2148","post","type-post","status-publish","format-standard","hentry","category-nginx","tag-ssl","tag-tls"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/2148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=2148"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/2148\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=2148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=2148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=2148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}