{"id":8391,"date":"2024-04-25T07:01:01","date_gmt":"2024-04-24T23:01:01","guid":{"rendered":""},"modified":"2024-04-25T07:01:01","modified_gmt":"2024-04-24T23:01:01","slug":"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5","status":"publish","type":"post","link":"https:\/\/mushiming.com\/8391.html","title":{"rendered":"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5"},"content":{"rendered":"

\n <\/path> \n<\/svg> <\/p>\n

\u672c\u6587\u8f6c\u81ea TSY\uff0c\u83b7\u53d6\u66f4\u65b0\u5185\u5bb9\u53ef\u67e5\u770b\u539f\u6587\uff1a \u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

\n

\u6700\u8fd1\u60f3\u641e\u4e00\u4e2a\u7f51\u7ad9\u73a9\u73a9\uff0c\u53d1\u5e03\u7f51\u7ad9\u7528https\u534f\u8bae\u5df2\u7ecf\u662f\u5927\u52bf\u6240\u8d8b\u4e86\u3002\u4f8b\u5982\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\uff0c\u4e0d\u4f7f\u7528https\u534f\u8bae\u6839\u672c\u4e0d\u8ba9\u63a5\u5165\u3002\u6240\u4ee5\uff0c\u5206\u4eab\u4e00\u4e0b\u6211\u5c1d\u8bd5\u8fc7\u7684\u4e09\u79cd\u65b9\u6cd5\u3002<\/p>\n

    \n
  1. Linux\u81ea\u7b7e\uff08OPENSSL\u751f\u6210SSL\u81ea\u7b7e\u8bc1\u4e66\uff09<\/li>\n
  2. \u963f\u91cc\u4e91\u514d\u8d39\u8bc1\u4e66<\/li>\n
  3. Let\u2019s Encrypt\u6c38\u4e45\u514d\u8d39SSL\u8bc1\u4e66\u3010\u5899\u88c2\u63a8\u8350\u3011<\/li>\n<\/ol>\n<\/blockquote>\n

    \u4e00\u3001Linux\u81ea\u7b7e\uff08OPENSSL\u751f\u6210SSL\u81ea\u7b7e\u8bc1\u4e66\uff09<\/h3>\n

    \u7b2c1\u6b65\uff1a\u751f\u6210\u79c1\u94a5<\/h4>\n

    \u6267\u884c\u5982\u4e0b\u547d\u4ee4\u751f\u6210\u4e00\u4e2aRSA\u79c1\u94a5<\/p>\n

    \/\/\u751f\u6210rsa\u79c1\u94a5\uff0cdes3\u7b97\u6cd5\uff0c1024\u4f4d\u5f3a\u5ea6\uff0cssl.key\u662f\u79d8\u94a5\u6587\u4ef6\u540d\u3002\nopenssl genrsa -des3 -out ssl.key 1024<\/span>\n<\/code><\/pre>\n

    \u7136\u540e\u4ed6\u4f1a\u8981\u6c42\u4f60\u8f93\u5165\u8fd9\u4e2akey\u6587\u4ef6\u7684\u5bc6\u7801\uff0c\u7531\u4f60\u968f\u4fbf\u8bbe\u7f6e\u3002
    \u7531\u4e8e\u4ee5\u540e\u8981\u7ed9nginx\u4f7f\u7528\u3002\u6bcf\u6b21reload nginx\u914d\u7f6e\u65f6\u5019\u90fd\u8981\u4f60\u9a8c\u8bc1\u8fd9\u4e2aPAM\u5bc6\u7801\u7684\u3002
    \u4f46\u662f\u751f\u6210\u65f6\u5019\u5fc5\u987b\u8f93\u5165\u5bc6\u7801\u3002\u5982\u679c\u4e0d\u60f3\u4ee5\u540e\u90a3\u4e48\u9ebb\u70e6\uff0c\u751f\u6210\u4e4b\u540e\u53ef\u4ee5\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u518d\u5220\u6389\u3002<\/p>\n

    openssl rsa -in ssl.key -out ssl.key\n<\/code><\/pre>\n

    \u7b2c2\u6b65\uff1a\u751f\u6210CSR\uff08\u8bc1\u4e66\u7b7e\u540d\u8bf7\u6c42\uff09<\/h4>\n

    \u6839\u636e\u521a\u521a\u751f\u6210\u7684key\u6587\u4ef6\u6765\u751f\u6210\u8bc1\u4e66\u8bf7\u6c42\u6587\u4ef6\uff0c\u64cd\u4f5c\u5982\u4e0b\uff1a<\/p>\n

    openssl req -new -key ssl.key -out ssl.csr\n<\/code><\/pre>\n

    \u8bf4\u660e\uff1a\u6267\u884c\u4ee5\u4e0a\u547d\u4ee4\u540e\uff0c\u9700\u8981\u4f9d\u6b21\u8f93\u5165\u56fd\u5bb6\u3001\u5730\u533a\u3001\u57ce\u5e02\u3001\u7ec4\u7ec7\u3001\u7ec4\u7ec7\u5355\u4f4d\u3001Common Name\u548cEmail\u3002\u5176\u4e2dCommon Name\u5e94\u8be5\u4e0e\u57df\u540d\u4fdd\u6301\u4e00\u81f4\u3002<\/p>\n

    Country Name (<\/span>2 letter code)<\/span> [AU]:<\/span>CN\nState or Province Name (<\/span>full name)<\/span> [Some-State]:<\/span>GuangDong\nLocality Name (<\/span>eg,<\/span> city)<\/span> []:<\/span>ShenZhen\nOrganization Name (<\/span>eg,<\/span> company)<\/span> [Internet Widgits Pty Ltd]:<\/span>tsy\nOrganizational Unit Name (<\/span>eg,<\/span> section)<\/span> []:<\/span>tsy\nCommon Name (<\/span>e.g. server FQDN or YOUR name)<\/span> []:<\/span>selfssl.hxkj.vip   \u8fd9\u4e00\u9879\u5fc5\u987b\u548c\u4f60\u7684\u57df\u540d\u4e00\u81f4\nEmail Address []:<\/span>t@tsy6.com\n<\/code><\/pre>\n

    \u7b2c3\u6b65\uff1a\u751f\u6210\u81ea\u7b7e\u540d\u8bc1\u4e66<\/h4>\n

    \u6839\u636e\u4ee5\u4e0a2\u4e2a\u6587\u4ef6\u751f\u6210crt\u8bc1\u4e66\u6587\u4ef6\uff0c\u6267\u884c\u4e0b\u9762\u547d\u4ee4\uff1a<\/p>\n

    \/\/\u8fd9\u91cc3650\u662f\u8bc1\u4e66\u6709\u6548\u671f(<\/span>\u5355\u4f4d\uff1a\u5929)<\/span>\u3002\u8fd9\u4e2a\u5927\u5bb6\u968f\u610f\u3002\u6700\u540e\u4f7f\u7528\u5230\u7684\u6587\u4ef6\u662fkey\u548ccrt\u6587\u4ef6\u3002\nopenssl x509 -req -days 3650<\/span> -in ssl.csr -signkey ssl.key -out ssl.crt\n<\/code><\/pre>\n

    \u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5728\u4f7f\u7528\u81ea\u7b7e\u540d\u7684\u4e34\u65f6\u8bc1\u4e66\u65f6\uff0c\u6d4f\u89c8\u5668\u4f1a\u63d0\u793a\u8bc1\u4e66\u7684\u9881\u53d1\u673a\u6784\u662f\u672a\u77e5\u7684\u3002<\/p>\n

    \u7b2c4\u6b65\uff1a\u5b89\u88c5\u79c1\u94a5\u548c\u8bc1\u4e66<\/h4>\n

    \u6253\u5f00conf\u76ee\u5f55\u4e2d\u7684nginx.conf\u914d\u7f6e\u6587\u4ef6\u4fee\u6539443\u7aef\u53e3\u76d1\u542c\u914d\u7f6e\u3002\u4e00\u822cnginx\u914d\u7f6e\u6587\u4ef6\u9ed8\u8ba4\u8def\u5f84\u4e3a \/etc\/nginx\/nginx.conf\uff0c\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u6253\u5f00\u5e76\u4fee\u6539\uff1a<\/p>\n

    vim \/<\/span>etc\/<\/span>nginx\/<\/span>nginx.<\/span>conf    \/\/\u8def\u5f84\u662f\u4f60\u7684nginx\u914d\u7f6e\u6587\u4ef6\u8def\u5f84<\/span>\n<\/code><\/pre>\n

    Nginx\u9ed8\u8ba4\u914d\u7f6e\u662f\u5c06443\u7aef\u53e3\u7684\u76d1\u542c\u914d\u7f6e\u6ce8\u91ca\u6389\u4e86\u7684\uff0c\u5982\u4e0b\uff1a<\/p>\n

    # Settings for a TLS enabled server.<\/span>\n  # server { \n   <\/span>\n    # listen 443;<\/span>\n      # server_name localhost;<\/span>\n        #ssl on;<\/span>\n        #root \/usr\/share\/nginx\/html;<\/span>\n\n        #ssl_certificate \"\";<\/span>\n        #ssl_certificate_key \"\";<\/span>\n        #ssl_session_cache shared:SSL:1m;<\/span>\n        #ssl_session_timeout 5m;<\/span>\n        #ssl_protocols SSLv2 SSLv3 TLSv1;<\/span>\n        #ssl_ciphers HIGH:!aNULL:!MD5;<\/span>\n        #ssl_prefer_server_ciphers on;<\/span>\n#<\/span>\n        # Load configuration files for the default server block.<\/span>\n  # include \/etc\/nginx\/default.d\/*.conf;<\/span>\n#<\/span>\n  # location \/ { \n   <\/span>\n    # }<\/span>\n#<\/span>\n  # error_page 404 \/404.html;<\/span>\n    # location = \/40x.html { \n   <\/span>\n      # }<\/span>\n#<\/span>\n  # error_page 500 502 503 504 \/50x.html;<\/span>\n    # location = \/50x.html { \n   <\/span>\n      # }<\/span>\n    #}<\/span>\n<\/code><\/pre>\n

    \u5c06\u6ce8\u91ca\u6253\u5f00\uff0c\u5e76\u5bf9\u5176\u4e2d\u90e8\u5206\u5185\u5bb9\u8fdb\u884c\u4fee\u6539\uff0c\u4fee\u6539\u540e\u5982\u4e0b\uff1a<\/p>\n

    # Settings for a TLS enabled server.<\/span>\nserver { \n   <\/span>\n\tlisten       443<\/span>;<\/span>\n\tserver_name  selfssl.hxkj.vip;<\/span>  \/\/\u6b64\u5904\u586b\u5199\u4f60\u81ea\u5df1\u7684\u57df\u540d\n\tssl on;<\/span>\n\troot         \/usr\/share\/nginx\/html;<\/span>\n\n\tssl_certificate \"\/home\/ssl\/ssl.crt\"<\/span>;<\/span>   \/\/\u6b64\u5904\u586b\u5199\u521a\u521a\u751f\u6210\u7684ssl.crt\u6587\u4ef6\u8def\u5f84\n\tssl_certificate_key \"\/home\/ssl\/ssl.key\"<\/span>;<\/span>    \/\/\u6b64\u5904\u586b\u5199\u521a\u521a\u751f\u6210\u7684ssl.key\u6587\u4ef6\u8def\u5f84\n\tssl_session_cache shared:SSL:1m;<\/span>\n\tssl_session_timeout  5m;<\/span>\n\tssl_protocols SSLv2 SSLv3 TLSv1;<\/span>\n\tssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!<\/span>NULL:!<\/span>aNULL:!<\/span>MD5:!<\/span>ADH:!<\/span>RC4;<\/span>\n\tssl_prefer_server_ciphers on;<\/span>\n\n\tlocation \/ { \n   <\/span>\n\t}<\/span>\n\n\terror_page 404<\/span> \/404.html;<\/span>\n\t\tlocation =<\/span> \/40x.html { \n   <\/span>\n\t}<\/span>\n\n\terror_page 500<\/span> 502<\/span> 503<\/span> 504<\/span> \/50x.html;<\/span>\n\t\tlocation =<\/span> \/50x.html { \n   <\/span>\n\t}<\/span>\n}<\/span>\n<\/code><\/pre>\n

    \u4fee\u6539\u914d\u7f6e\u5e76\u4fdd\u5b58\u540e\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

    nginx -s reload\n<\/code><\/pre>\n

    \u53ef\u4f7fnginx\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\uff0c\u4f7f\u914d\u7f6e\u751f\u6548\u3002<\/p>\n

    \n

    tips:\u81ea\u7b7e\u8bc1\u4e66\u56e0\u4e3a\u5b89\u5168\u6027\u5f88\u4f4e\uff0c\u4f1a\u88ab\u8c37\u6b4c\u6d4f\u89c8\u5668\u62e6\u622a<\/p>\n<\/blockquote>\n

    \u4e0b\u9762\u662f\u8bc1\u4e66\u68c0\u6d4b\u8be6\u60c5<\/p>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u4e8c\u3001\u963f\u91cc\u4e91\u514d\u8d39\u8bc1\u4e66<\/h3>\n

    \u7b2c1\u6b65\uff1a\u767b\u9646\u963f\u91cc\u4e91\u8d26\u53f7\uff0c\u9009\u62e9\u8bc1\u4e66\u670d\u52a1<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c2\u6b65\uff1a\u9009\u62e9DV SS<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c3\u6b65\uff1a\u9009\u62e9Symantec<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c4\u6b65\uff1a\u9009\u62e9OV SSL<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c5\u6b65\uff1a\u9009\u62e9\u514d\u8d39\u578bDV SSL<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c6\u6b65\uff1a\u597d\uff0c\u7ecf\u8fc7\u66f2\u6298\u7684\u9009\u62e9\u5b8c\u6bd5\u4e4b\u540e\uff0c\u8d2d\u4e70\uff0c\u9700\u8981\u652f\u4ed80\u5143\uff08\u514d\u8d39\u7684\u5566\uff09<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c7\u6b65\uff1a\u8d2d\u4e70\u6210\u529f\u4e4b\u540e\u4f1a\u8fd4\u56de\u8bc1\u4e66\u63a7\u5236\u53f0\uff0c\u7136\u540e\u70b9\u51fb\u8865\u5168\u4fe1\u606f<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c8\u6b65\uff1a\u9700\u8981\u586b\u5199\u8bc1\u4e66\u7ed1\u5b9a\u7684\u57df\u540d\uff0c\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u586b\u5199\u5c31OK<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c9\u6b65\uff1a\u586b\u5199\u7533\u8bf7\u4eba\u7684\u4e2a\u4eba\u4fe1\u606f\uff0c\u5982\u5b9e\u586b\u5199\u5c31\u597d<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c10\u6b65\uff1a\u8865\u5168\u6210\u529f\u4e4b\u540e\uff0c\u4f1a\u8fd4\u56de\u57df\u540d\u914d\u7f6e\u5f15\u5bfc\u9875\uff0c\u5982\u56fe\u6240\u793a<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c11\u6b65\uff1a\u6253\u5f00\u81ea\u5df1\u7684\u57df\u540d\u63a7\u5236\u53f0\uff0c\u6dfb\u52a0\u89e3\u6790<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c12\u6b65\uff1a\u7ed9\u57df\u540d\u6dfb\u52a0TXT\u8bb0\u5f55\uff0c\u6b64\u5904\u586b\u5199\u7684\u662f\u7b2c10\u6b65\u7684\u4fe1\u606f\uff0c\u5982\u56fe\u6240\u793a<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c13\u6b65\uff1a\u786e\u8ba4\u5b8c\u6bd5\u4e4b\u540e\uff0c\u4f1a\u81ea\u52a8\u8fd4\u56de\u8bc1\u4e66\u914d\u7f6e\u9875\uff0c\u53ef\u4ee5\u8fdb\u884c\u914d\u7f6e\u68c0\u6d4b<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u5982\u679c\u914d\u7f6e\u6b63\u786e\uff0c\u5de6\u8fb9\u4f1a\u663e\u793a\u201cDNS\u914d\u7f6e\u8bb0\u5f55\u6b63\u786e\uff0c\u8bf7\u8010\u5fc3\u7b49\u5019\u201d\u3002\u5426\u5219\u7684\u8bdd\uff0c\u5c31\u662f\u57df\u540dTXT\u8bb0\u5f55\u914d\u7f6e\u9519\u8bef\uff0c\u8fd4\u56de\u68c0\u67e5\u7b2c12\u6b65\u7684\u4fe1\u606f\u662f\u5426\u586b\u5199\u6b63\u786e<\/p>\n

    \u7b2c14\u6b65\uff1a\u4e00\u822c10\u5206\u949f\u4e4b\u5185\u5c31\u51fa\u7ed3\u679c\u4e86\uff0c\u914d\u7f6e\u6b63\u786e\u7684\u8bdd\uff0c\u4f1a\u81ea\u52a8\u8fd4\u56de\u8fd9\u4e2a\u9875\u9762\uff0c\u4e0b\u8f7d\u8bc1\u4e66<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u7b2c15\u6b65\uff1a\u5b89\u88c5\u8bc1\u4e66\uff0c\u963f\u91cc\u6559\u7a0b\u633a\u8be6\u7ec6\u7684\uff0c\u5c31\u4e0d\u505a\u8d58\u8ff0\u4e86<\/h4>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u4e0b\u9762\u662f\u6211\u7684nginx\u914d\u7f6e\u5185\u5bb9\uff0c\u53ef\u4f9b\u53c2\u8003\uff1a<\/p>\n

    server { \n   <\/span>\n        listen       443<\/span>;<\/span>\n        server_name  alissl.hxkj.vip;<\/span>\n        ssl on;<\/span>\n        root         \/usr\/share\/nginx\/html;<\/span>\n\n        ssl_certificate \"\/home\/alissl\/214715369370158.pem\"<\/span>;<\/span>\n        ssl_certificate_key \"\/home\/alissl\/214715369370158.key\"<\/span>;<\/span>\n        ssl_session_cache shared:SSL:1m;<\/span>\n        ssl_session_timeout  5m;<\/span>\n        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;<\/span>\n        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!<\/span>NULL:!<\/span>aNULL:!<\/span>MD5:!<\/span>ADH:!<\/span>RC4;<\/span>\n        ssl_prefer_server_ciphers on;<\/span>\n\n        location \/ { \n   <\/span>\n        }<\/span>\n\n        error_page 404<\/span> \/404.html;<\/span>\n            location =<\/span> \/40x.html { \n   <\/span>\n        }<\/span>\n\n        error_page 500<\/span> 502<\/span> 503<\/span> 504<\/span> \/50x.html;<\/span>\n            location =<\/span> \/50x.html { \n   <\/span>\n        }<\/span>\n    }<\/span>\n<\/code><\/pre>\n

    \u4fee\u6539\u914d\u7f6e\u5e76\u4fdd\u5b58\u540e\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

    nginx -s reload\n<\/code><\/pre>\n

    \u53ef\u4f7fnginx\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\uff0c\u4f7f\u914d\u7f6e\u751f\u6548\u3002<\/p>\n

    \u4e0b\u9762\u662f\u8bc1\u4e66\u68c0\u6d4b\u8be6\u60c5<\/p>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u4e09\u3001Let\u2019s Encrypt\u514d\u8d39\u8bc1\u4e66<\/h3>\n

    1\uff1aLet\u2019s Encrypt\u7b80\u4ecb<\/h4>\n

    Let\u2019s Encrypt\u4f5c\u4e3a\u4e00\u4e2a\u516c\u5171\u4e14\u514d\u8d39SSL\u7684\u9879\u76ee\u9010\u6e10\u88ab\u5e7f\u5927\u7528\u6237\u4f20\u64ad\u548c\u4f7f\u7528\uff0c\u662f\u7531Mozilla\u3001Cisco\u3001Akamai\u3001IdenTrust\u3001EFF\u7b49\u7ec4\u7ec7\u4eba\u5458\u53d1\u8d77\uff0c\u4e3b\u8981\u7684\u76ee\u7684\u4e5f\u662f\u4e3a\u4e86\u63a8\u8fdb\u7f51\u7ad9\u4eceHTTP\u5411HTTPS\u8fc7\u5ea6\u7684\u8fdb\u7a0b\uff0c\u76ee\u524d\u5df2\u7ecf\u6709\u8d8a\u6765\u8d8a\u591a\u7684\u5546\u5bb6\u52a0\u5165\u548c\u8d5e\u52a9\u652f\u6301\u3002<\/p>\n

    Let\u2019s Encrypt\u514d\u8d39SSL\u8bc1\u4e66\u7684\u51fa\u73b0\uff0c\u4e5f\u4f1a\u5bf9\u4f20\u7edf\u63d0\u4f9b\u4ed8\u8d39SSL\u8bc1\u4e66\u670d\u52a1\u7684\u5546\u5bb6\u6709\u4e0d\u5c0f\u7684\u6253\u51fb\u3002\u5230\u76ee\u524d\u4e3a\u6b62\uff0cLet\u2019s Encrypt\u83b7\u5f97IdenTrust\u4ea4\u53c9\u7b7e\u540d\uff0c\u8fd9\u5c31\u662f\u8bf4\u53ef\u4ee5\u5e94\u7528\u4e14\u652f\u6301\u5305\u62ecFireFox\u3001Chrome\u5728\u5185\u7684\u4e3b\u6d41\u6d4f\u89c8\u5668\u7684\u517c\u5bb9\u548c\u652f\u6301\uff0c\u867d\u7136\u76ee\u524d\u662f\u516c\u6d4b\u9636\u6bb5\uff0c\u4f46\u662f\u4e5f\u6709\u4e0d\u5c11\u7684\u7528\u6237\u5728\u81ea\u6709\u7f51\u7ad9\u9879\u76ee\u4e2d\u6b63\u5f0f\u4f7f\u7528\u8d77\u6765\u3002<\/p>\n

    Let\u2019s Encrypt \u7684\u6700\u5927\u8d21\u732e\u662f\u5b83\u7684 ACME \u534f\u8bae\uff0c\u7b2c\u4e00\u4efd\u5168\u81ea\u52a8\u670d\u52a1\u5668\u8eab\u4efd\u9a8c\u8bc1\u534f\u8bae\uff0c\u4ee5\u53ca\u914d\u5957\u7684\u57fa\u7840\u8bbe\u65bd\u548c\u5ba2\u6237\u7aef\u3002\u8fd9\u662f\u4e3a\u4e86\u89e3\u51b3\u4e00\u76f4\u4ee5\u6765 HTTPS TLS X.509 PKI \u4fe1\u4efb\u6a21\u578b\uff0c\u5373\u8bc1\u4e66\u6743\u5a01\uff08Certificate Authority, CA\uff09\u6a21\u578b\u7f3a\u9677\u7684\u4e00\u4e2a\u8d77\u6b65\u3002\u5728\u5ba2\u6237\u7aef-\u670d\u52a1\u5668\u6570\u636e\u4f20\u8f93\u4e2d\uff0c\u516c\u79c1\u94a5\u52a0\u5bc6\u4f7f\u5f97\u516c\u94a5\u53ef\u4ee5\u660e\u6587\u4f20\u8f93\u800c\u4f9d\u7136\u4fdd\u5bc6\u6570\u636e\uff0c\u4f46\u516c\u94a5\u672c\u8eab\u662f\u5426\u5c5e\u4e8e\u670d\u52a1\u5668\uff0c\u6216\u516c\u94a5\u4e0e\u670d\u52a1\u5668\u662f\u5426\u540c\u5c5e\u4e00\u4e2a\u8eab\u4efd\uff0c\u662f\u65e0\u6cd5\u7b80\u5355\u9a8c\u8bc1\u7684\u3002\u8bc1\u4e66\u6743\u5a01\u6a21\u578b\u901a\u8fc7\u5f15\u5165\u4e8b\u5148\u4fe1\u4efb\u7684\u7b2c\u4e09\u65b9\uff0c\u7531\u7b2c\u4e09\u65b9\u53bb\u9a8c\u8bc1\u8fd9\u4e00\u70b9\uff0c\u5e76\u901a\u8fc7\u5728\u670d\u52a1\u5668\u516c\u94a5\u4e0a\u7b7e\u540d\u7684\u65b9\u5f0f\u6765\u8ba4\u8bc1\u670d\u52a1\u5668\u3002\u7b2c\u4e09\u65b9\u7684\u516c\u94a5\u5219\u5728\u4e8b\u5148\u5c31\u7ea6\u5b9a\u5e76\u79bb\u7ebf\u51c6\u5907\u597d\uff0c\u4ee5\u5907\u8bbf\u95ee\u65f6\u9a8c\u8bc1\u7b7e\u540d\u4e4b\u7528\u3002\u8fd9\u4e2a\u7b2c\u4e09\u65b9\u5c31\u79f0\u4e3a\u8bc1\u4e66\u6743\u5a01\uff0c\u7b80\u79f0CA\u3002\u76f8\u5e94\u7684\uff0cCA\u9a8c\u8bc1\u8fc7\u7684\u516c\u94a5\u88ab\u79f0\u4e3a\u8bc1\u4e66\u3002\u95ee\u9898\u662f\uff0c\u5982\u679c\u670d\u52a1\u5668\u79c1\u94a5\u6cc4\u9732\uff0cCA\u65e0\u6cd5\u79bb\u7ebf\u4f7f\u5bf9\u5e94\u7684\u8bc1\u4e66\u65e0\u6548\u5316\uff0c\u53ea\u80fd\u53e6\u5916\u53d1\u5e03\u65e0\u6548\u8bb0\u5f55\u4f9b\u5ba2\u6237\u7aef\u67e5\u8be2\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u5728\u79c1\u94a5\u6cc4\u9732\u5230CA\u53d1\u5e03\u65e0\u6548\u8bb0\u5f55\u7684\u7a97\u53e3\u5185\uff0c\u4e2d\u95f4\u4eba\u53ef\u4ee5\u8086\u610f\u76d1\u63a7\u670d-\u5ba2\u4e4b\u95f4\u7684\u4f20\u8f93\u3002\u5982\u679c\u4e2d\u95f4\u4eba\u8bbe\u6cd5\u5c4f\u853d\u4e86\u5ba2\u6237\u7aef\u5bf9\u65e0\u6548\u8bb0\u5f55\u7684\u8bbf\u95ee\uff0c\u90a3\u4e48\u76f4\u5230\u8bc1\u4e66\u8fc7\u671f\uff0c\u4e2d\u95f4\u4eba\u90fd\u53ef\u4ee5\u8fdb\u884c\u76d1\u63a7\u3002\u800c\u7531\u4e8e\u5f53\u524dCA\u9a8c\u8bc1\u548c\u7b7e\u53d1\u8bc1\u4e66\u5927\u591a\u624b\u52a8\uff0c\u8bc1\u4e66\u6709\u6548\u671f\u5f80\u5f80\u5728\u4e00\u5e74\u5230\u4e09\u5e74\u3002Let\u2019s Encrypt \u7b7e\u53d1\u7684\u8bc1\u4e66\u6709\u6548\u671f\u53ea\u670990\u5929\uff0c\u751a\u81f3\u5e0c\u671b\u7f29\u77ed\u523060\u5929\u3002\u6709\u6548\u671f\u8d8a\u77ed\uff0c\u6cc4\u5bc6\u540e\u53ef\u4f9b\u76d1\u63a7\u7684\u7a97\u53e3\u5c31\u8d8a\u77ed\u3002<\/p>\n

    2\uff1a\u90e8\u7f72Let\u2019s Encrypt\u8bc1\u4e66<\/h4>\n

    2.1 \u68c0\u67e5\u670d\u52a1\u5668\u662f\u5426\u5b89\u88c5Python\u4e0eGit<\/h5>\n

    \u68c0\u6d4bPython\u6307\u4ee4<\/p>\n

    #\u68c0\u67e5Python\u7684\u7248\u672c\u662f\u5426\u57282.7\u4ee5\u4e0a<\/span>\npython -v \/\/2.7\u7248\u672c\n<\/code><\/pre>\n

    \u5982\u679c\u6ca1\u6709\u5b89\u88c5Python\u7684\u8bdd\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff08\u5982\u679c\u68c0\u6d4b\u5230\u5df2\u5b89\u88c5\u5219\u7565\u8fc7\uff09<\/p>\n

    #\u5b89\u88c5python\u6240\u9700\u7684\u5305<\/span>\nyum install<\/span> zlib-devel\nyum install<\/span> bzip2-devel\nyum install<\/span> openssl-devel\nyum install<\/span> ncurses-devel\nyum install<\/span> sqlite-devel\n#\u83b7\u53d6\u5230Python<\/span>\ncd<\/span> \/usr\/local\/src\nwget<\/span> https:\/\/www.python.org\/ftp\/python\/2.7.12\/Python-2.7.12.tar.xz\n#\u89e3\u538bPython2.7.12<\/span>\ntar<\/span> -xvf Python-2.7.12.tar.xz\n#\u7f16\u8bd1python<\/span>\ncd<\/span> Python-2.7.12\/\n.\/configure --prefix=<\/span>\/usr\/local\/python2.7\nmake<\/span> &&<\/span> make<\/span> install<\/span>\n#\u5efa\u7acblink<\/span>\nln<\/span> -s \/usr\/local\/python2.7\/bin\/python2.7 \/usr\/local\/bin\/python\n#\u89e3\u51b3\u7cfb\u7edf Python \u8f6f\u94fe\u63a5\u6307\u5411 Python2.7 \u7248\u672c\u540e\uff0c\u56e0\u4e3ayum\u662f\u4e0d\u517c\u5bb9 Python 2.7\u7684\uff0c\u6240\u9700\u8981\u6307\u5b9a yum \u7684Python\u7248\u672c<\/span>\n# vim \/usr\/bin\/yum <\/span>\n\u5c06\u5934\u90e8\u7684\n#!\/usr\/bin\/python<\/span>\n\u6539\u6210\n#!\/usr\/bin\/python2.6.6<\/span>\n<\/code><\/pre>\n

    \u68c0\u6d4bGit\u6307\u4ee4<\/p>\n

    #\u68c0\u67e5\u7cfb\u7edf\u662f\u5426\u5b89\u88c5git<\/span>\ngit<\/span>  --version\n<\/code><\/pre>\n

    \u5982\u679c\u6ca1\u6709\u5b89\u88c5Git\u7684\u8bdd\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff08\u5982\u679c\u68c0\u6d4b\u5230\u5df2\u5b89\u88c5\u5219\u7565\u8fc7\uff09<\/p>\n

    #git \u5b89\u88c5<\/span>\nyum install<\/span> git<\/span>\n<\/code><\/pre>\n
    2.2 \u5feb\u901f\u83b7\u53d6Let\u2019s Encrypt\u514d\u8d39SSL\u8bc1\u4e66<\/h5>\n

    \u76f8\u8f83\u4e8e\u7b2c\u4e00\u79cd\u81ea\u7b7e\u751f\u6210\u8bc1\u4e66\u7684\u65b9\u6cd5\uff0cLet\u2019s Encrypt\u80af\u5b9a\u662f\u8003\u8651\u5230\u63a8\u5e7fHTTPS\u7684\u666e\u53ca\u578b\u4f1a\u8ba9\u7528\u6237\u7b80\u5355\u7684\u83b7\u53d6\u548c\u90e8\u7f72SSL\u8bc1\u4e66\uff0c\u6240\u4ee5\u53ef\u4ee5\u91c7\u7528\u4e0b\u9762\u7b80\u5355\u7684\u4e00\u952e\u90e8\u7f72\u83b7\u53d6\u8bc1\u4e66\u3002<\/p>\n

    #\u83b7\u53d6letsencrypt<\/span>\ngit<\/span> clone https:\/\/github.com\/letsencrypt\/letsencrypt\n#\u8fdb\u5165letsencrypt\u76ee\u5f55<\/span>\ncd<\/span> letsencrypt\n#\u751f\u6210\u8bc1\u4e66 --email\u540e\u586b\u5199\u81ea\u5df1\u7684\u90ae\u7bb1 -d \u540e\u9762\u586b\u5199\u9700\u8981\u914d\u7f6e\u8bc1\u4e66\u7684\u57df\u540d\uff08\u652f\u6301\u591a\u4e2a\u54e6\uff09<\/span>\n.\/letsencrypt-auto certonly --standalone --email t@tsy6.com -d hxkj.vip -d www.hxkj.vip\n<\/code><\/pre>\n
    \n

    Let\u2019s Encrypt\u662f\u652f\u6301\u7ed1\u5b9a\u591a\u57df\u540d\u7684\uff0c\u4e0a\u8ff0\u4e24\u79cd\u65b9\u6cd5\u90fd\u662f\u53ea\u652f\u6301\u5355\u57df\u540d\u3002<\/p>\n<\/blockquote>\n

    2.3 Let\u2019s Encrypt\u514d\u8d39SSL\u8bc1\u4e66\u83b7\u53d6\u4e0e\u5e94\u7528<\/h5>\n

    \u5728\u5b8c\u6210Let\u2019s Encrypt\u8bc1\u4e66\u7684\u751f\u6210\u4e4b\u540e\uff0c\u6211\u4eec\u4f1a\u5728\"\/etc\/letsencrypt\/live\/hxkj.vip\/\"\u57df\u540d\u76ee\u5f55\u4e0b\u67094\u4e2a\u6587\u4ef6\u5c31\u662f\u751f\u6210\u7684\u5bc6\u94a5\u8bc1\u4e66\u6587\u4ef6\u3002<\/p>\n

    \n

    cert.pem - Apache\u670d\u52a1\u5668\u7aef\u8bc1\u4e66
    chain.pem - Apache\u6839\u8bc1\u4e66\u548c\u4e2d\u7ee7\u8bc1\u4e66
    fullchain.pem - Nginx\u6240\u9700\u8981ssl_certificate\u6587\u4ef6
    privkey.pem - \u5b89\u5168\u8bc1\u4e66KEY\u6587\u4ef6<\/p>\n<\/blockquote>\n

    \u56e0\u4e3a\u6211\u7684\u662fNginx\u73af\u5883\uff0c\u90a3\u5c31\u9700\u8981\u7528\u5230fullchain.pem\u548cprivkey.pem\u4e24\u4e2a\u8bc1\u4e66\u6587\u4ef6\u3002\u4fee\u6539nginx\u914d\u7f6e\u7684\u8be6\u7ec6\u8fc7\u7a0b\uff0c\u4e0a\u9762\u4e24\u79cd\u65b9\u6cd5\u90fd\u63d0\u5230\u4e86\uff0c\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0\uff0c\u4ee5\u4e0b\u6211\u4fee\u6539\u597d\u7684\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n

    server { \n   <\/span>\n        listen       443<\/span>;<\/span>\n        server_name  hxkj.vip www.hxkj.vip;<\/span>\n        ssl on;<\/span>\n        root         \/usr\/share\/nginx\/html;<\/span>\n\n        ssl_certificate \"\/etc\/letsencrypt\/live\/hxkj.vip\/fullchain.pem\"<\/span>;<\/span>\n        ssl_certificate_key \"\/etc\/letsencrypt\/live\/hxkj.vip\/privkey.pem\"<\/span>;<\/span>\n        ssl_session_cache shared:SSL:1m;<\/span>\n        ssl_session_timeout  5m;<\/span>\n        ssl_protocols SSLv2 SSLv3 TLSv1;<\/span>\n        ssl_ciphers HIGH:!<\/span>aNULL:!<\/span>MD5;<\/span>\n        ssl_prefer_server_ciphers on;<\/span>\n\n        location \/ { \n   <\/span>\n        }<\/span>\n\n        error_page 404<\/span> \/404.html;<\/span>\n            location =<\/span> \/40x.html { \n   <\/span>\n        }<\/span>\n\n        error_page 500<\/span> 502<\/span> 503<\/span> 504<\/span> \/50x.html;<\/span>\n            location =<\/span> \/50x.html { \n   <\/span>\n        }<\/span>\n    }<\/span>\n<\/code><\/pre>\n

    \u4e0b\u9762\u662f\u8bc1\u4e66\u68c0\u6d4b\u8be6\u60c5<\/p>\n

    \"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5<\/p>\n

    \u4ece\u4e0a\u56fe\u53ef\u4ee5\u770b\u51fa\uff0cLet\u2019s Encrypt\u8bc1\u4e66\u662f\u6709\u6548\u671f90\u5929\u7684\uff0c\u9700\u8981\u6211\u4eec\u81ea\u5df1\u624b\u5de5\u66f4\u65b0\u7eed\u671f\u624d\u53ef\u4ee5\u3002\u4f46\u662f\uff0c\u8eab\u4e3a\u7a0b\u5e8f\u5458\uff0c\u53ef\u4ee5\u81ea\u52a8\u6267\u884c\u7684\u4e8b\uff0c\u575a\u51b3\u4e0d\u624b\u52a8\u641e\u3002<\/p>\n

    2.4 Let\u2019s Encrypt\u8bc1\u4e66\u81ea\u52a8\u7eed\u671f\uff0c\u5b9e\u73b0\u771f\u6b63\u7684\u6c38\u4e45\u514d\u8d39\u4f7f\u7528<\/h5>\n
    2.4.1 \u7f16\u5199shell\u811a\u672c<\/h6>\n

    \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5728\"\/etc\/letsencrypt\/live\/hxkj.vip\/\"\u57df\u540d\u76ee\u5f55\u4e0b\u521b\u5efa\u811a\u672c\uff0c\u65b9\u4fbf\u7ba1\u7406<\/p>\n

    vim \/<\/span>etc\/<\/span>letsencrypt\/<\/span>live\/<\/span>hxkj.<\/span>vip\/<\/span>updatessl.<\/span>sh    \/\/\u521b\u5efa\u4e00\u4e2a\u540d\u5b57\u4e3aupdatessl\u7684\u811a\u672c<\/span>\n<\/code><\/pre>\n

    \u7136\u540e\u5728\u811a\u672c\u91cc\u6dfb\u52a0\u5982\u4e0b\u4ee3\u7801<\/p>\n

    #!\/bin\/sh<\/span>\n\/usr\/local\/src\/Python-2.7.12\/letsencrypt\/certbot-auto renew --force-renew --pre-hook \"service nginx stop\"<\/span> --post-hook \"service nginx start\"<\/span>\n#\u7b2c\u4e00\u884c\u662f\u6307\u6b64\u811a\u672c\u4f7f\u7528\/bin\/sh \u6765\u6267\u884c<\/span>\n#\u7b2c\u4e8c\u884c\u4e2d--force-renew\u53c2\u6570\u4ee3\u8868\u5f3a\u5236\u66f4\u65b0<\/span>\n<\/code><\/pre>\n

    \u9000\u51fa\u5e76\u4fdd\u5b58\uff0c\u7136\u540e\u7ed9\u811a\u672c\u6dfb\u52a0\u53ef\u6267\u884c\u6743\u9650<\/p>\n

    \/\/ \u8fd9\u91cc\u7684\u6587\u4ef6\u8def\u5f84\u586b\u5199\u4f60\u81ea\u5df1\u7684\u6587\u4ef6\u8def\u5f84<\/span>\nchmod +<\/span>x \/<\/span>etc\/<\/span>letsencrypt\/<\/span>live\/<\/span>hxkj.<\/span>vip\/<\/span>updatessl.<\/span>sh\n<\/code><\/pre>\n
    2.4.2 \u521b\u5efa\u5b9a\u65f6\u4efb\u52a1<\/h6>\n

    \u6253\u5f00crontab\u6587\u4ef6<\/p>\n

    crontab<\/span> -e\n<\/code><\/pre>\n

    \u7136\u540e\u5728\u6587\u4ef6\u672b\u5c3e\u6dfb\u52a0\u4e00\u884c\u4ee5\u4e0b\u5185\u5bb9<\/p>\n

    0<\/span>  0<\/span>  28<\/span> *<\/span>  *<\/span> root \/<\/span>etc\/<\/span>letsencrypt\/<\/span>live\/<\/span>hxkj.<\/span>vip\/<\/span>updatessl.<\/span>sh   \/\/\u6211\u8fd9\u91cc\u4ee3\u8868\u6bcf\u670828\u53f7\u66f4\u65b0\u4e00\u6b21\u8bc1\u4e66\u6587\u4ef6\uff0c\u6587\u4ef6\u8def\u5f84\u586b\u5199\u4f60\u81ea\u5df1\u7684\u6587\u4ef6\u8def\u5f84<\/span>\n<\/code><\/pre>\n

    \u5177\u4f53\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n

    \n

    Minute Hour Day Month Dayofweek command
    \u5206\u949f \u5c0f\u65f6 \u5929 \u6708 \u5929\u6bcf\u661f\u671f \u547d\u4ee4<\/p>\n<\/blockquote>\n

    \u6bcf\u4e2a\u5b57\u6bb5\u4ee3\u8868\u7684\u542b\u4e49\u5982\u4e0b\uff1a<\/p>\n

    \n

    Minute \u6bcf\u4e2a\u5c0f\u65f6\u7684\u7b2c\u51e0\u5206\u949f\u6267\u884c\u8be5\u4efb\u52a1
    Hour \u6bcf\u5929\u7684\u7b2c\u51e0\u4e2a\u5c0f\u65f6\u6267\u884c\u8be5\u4efb\u52a1
    Day \u6bcf\u6708\u7684\u7b2c\u51e0\u5929\u6267\u884c\u8be5\u4efb\u52a1
    Month \u6bcf\u5e74\u7684\u7b2c\u51e0\u4e2a\u6708\u6267\u884c\u8be5\u4efb\u52a1
    DayOfWeek \u6bcf\u5468\u7684\u7b2c\u51e0\u5929\u6267\u884c\u8be5\u4efb\u52a1
    Command \u6307\u5b9a\u8981\u6267\u884c\u7684\u7a0b\u5e8f<\/p>\n<\/blockquote>\n

    \u5728\u8fd9\u4e9b\u5b57\u6bb5\u91cc\uff0c\u9664\u4e86\u201cCommand\u201d\u662f\u6bcf\u6b21\u90fd\u5fc5\u987b\u6307\u5b9a\u7684\u5b57\u6bb5\u4ee5\u5916\uff0c\u5176\u5b83\u5b57\u6bb5\u7686\u4e3a\u53ef\u9009\u5b57\u6bb5\uff0c\u53ef\u89c6\u9700\u8981\u51b3\u5b9a\u3002\u5bf9\u4e8e\u4e0d\u6307\u5b9a\u7684\u5b57\u6bb5\uff0c\u8981\u7528\u201c*\u201d\u6765\u586b\u8865\u5176\u4f4d\u7f6e\u3002<\/p>\n

    \u8bb0\u5f97\u91cd\u542fcrontab\u670d\u52a1\u54e6\u3002\u597d\u4e86\uff0c\u81ea\u52a8\u66f4\u65b0\u8bc1\u4e66\u5df2\u7ecf\u914d\u7f6e\u5b8c\u4e86\uff0c\u518d\u4e5f\u4e0d\u7528\u62c5\u5fc3\u8bc1\u4e66\u8fc7\u671f\u5566\uff01\u8fd9\u4e5f\u662f\u6211\u63a8\u8350\u4f7f\u7528\u8fd9\u79cd\u65b9\u5f0f\u751f\u6210\u8bc1\u4e66\u7684\u539f\u56e0\u4e4b\u4e00\uff0c\u6ca1\u529e\u6cd5\uff0c\u61d2\u554a~~~<\/p>\n

    \u56db\u3001\u603b\u7ed3<\/h3>\n
      \n
    1. \n

      \u901a\u8fc7Linux\u81ea\u7b7e\u65b9\u5f0f\u751f\u6210\u7b7e\u540d\u6587\u4ef6\uff0c\u8fd9\u79cd\u65b9\u5f0f\u64cd\u4f5c\u7e41\u7410\uff0c\u5b89\u5168\u6027\u4f4e\uff0c\u53cd\u6b63\u5c31\u662f\u5403\u529b\u4e0d\u8ba8\u597d\uff0c\u4e0d\u63a8\u8350\u4f7f\u7528\u3002<\/p>\n<\/li>\n

    2. \n

      \u4f7f\u7528\u963f\u91cc\u4e91\u7684\u514d\u8d39\u8bc1\u4e66\uff0c\u914d\u7f6e\u65b9\u4fbf\uff0c\u552f\u4e00\u7684\u7f3a\u70b9\u5c31\u662f\u6709\u6548\u671f\u53ea\u6709\u4e00\u5e74\uff0c\u4e07\u4e00\u5fd8\u8bb0\u66f4\u65b0\u5c31\u70b8\u4e86\u3002\u4f46\u662f\u4e00\u5e74\u7684\u65f6\u95f4\u4e5f\u8fd8\u597d\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u3002<\/p>\n<\/li>\n

    3. \n

      \u4f7f\u7528Let\u2019s Encrypt\u8bc1\u4e66\uff0c\u5b89\u5168\u6027\u4f18\u826f\uff0c\u5404\u5927\u5382\u5546\u90fd\u652f\u6301\uff0c\u8fd8\u80fd\u5b9e\u73b0\u81ea\u52a8\u66f4\u65b0\u6709\u6548\u671f\uff0c\u8fd9\u79cd\u65b9\u5f0f\u5f3a\u70c8\u63a8\u8350\uff01\uff01\uff01<\/p>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5\u672c\u6587\u8f6c\u81eaTSY\uff0c\u83b7\u53d6\u66f4\u65b0\u5185\u5bb9\u53ef\u67e5\u770b\u539f\u6587\uff1a\u670d\u52a1\u5668\u914d\u7f6ehttps\u534f\u8bae\uff0c\u4e09\u79cd\u514d\u8d39\u7684\u65b9\u6cd5\u6700\u8fd1\u60f3\u641e\u4e00...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8391"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8391"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8391\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}