{"id":1501,"date":"2013-10-11T00:39:12","date_gmt":"2013-10-10T16:39:12","guid":{"rendered":"http:\/\/jir.no-ip.org\/wordpress\/?p=1501"},"modified":"2013-10-11T00:39:12","modified_gmt":"2013-10-10T16:39:12","slug":"%e6%94%b6%e5%88%b0%e7%b3%bb%e7%b5%b1%e9%80%9a%e7%9f%a5%e4%bf%a1%e3%80%8ethe-certificate-for-%e5%80%8b%e4%ba%ba%e7%b6%b2%e5%9d%80-will-expire-in-xx-days%e3%80%8f","status":"publish","type":"post","link":"https:\/\/jir.idv.tw\/wordpress\/?p=1501","title":{"rendered":"\u6536\u5230\u7cfb\u7d71\u901a\u77e5\u4fe1\u300eThe certificate for \u500b\u4eba\u7db2\u5740 will expire in xx days\u300f?"},"content":{"rendered":"<p>\u4eca\u5e74\u53c8\u9047\u5230\u554f\u984c\u4e86~XD<br \/>\n\u60f3\u5230\u53bb\u5e74\u6709\u767c\u6587\u5230\u9ce5\u54e5\u90a3\u908a\u53bb\u8a62\u554f<br \/>\n<a href=\"http:\/\/phorum.vbird.idv.tw\/viewtopic.php?f=2&#038;t=37191\" target=\"_blank\" rel=\"noopener\">http:\/\/phorum.vbird.idv.tw\/viewtopic.php?f=2&#038;t=37191<\/a><br \/>\n\u9019\u6b21\u518d\u4f86\u4e00\u6b21\u7559\u6a94\u7d66\u81ea\u5df1\u770b\u597d\u4e86<\/p>\n<p>********************************<\/p>\n<p>\u6700\u8fd1\u767c\u73fe\u7cfb\u7d71\u767c\u4e86\u5e7e\u5c01\u4fe1\u7d66\u6211\u7684linux\u4e3b\u6a5froot\u4fe1\u7bb1<br \/>\n\u6a19\u984c\u662f\u300eThe certificate for jir.no-ip.org will expire in xx days\u300f<br \/>\nxx\u662f\u6578\u5b57<\/p>\n<p>\u5167\u5bb9\u5927\u6982\u662f\u5beb\uff1a<br \/>\n<code><br \/>\n ################# SSL Certificate Warning ################<\/p>\n<p>  Certificate for hostname 'jir.no-ip.org', in file (or by nickname):<br \/>\n     \/etc\/pki\/tls\/certs\/localhost.crt<\/p>\n<p>  The certificate needs to be renewed; this can be done<br \/>\n  using the 'genkey' program.<\/p>\n<p>  Browsers will not be able to correctly connect to this<br \/>\n  web site using SSL until the certificate is renewed.<\/p>\n<p> ##########################################################<br \/>\n                                  Generated by certwatch(1)<\/code><\/p>\n<p>\u53c3\u8003\u9019\u908a\u7684\u9ad8\u624b\u56de\u7b54\uff1a<br \/>\n<a href=\"http:\/\/yourlinuxguy.com\/?p=547\" target=\"_blank\" rel=\"noopener\">http:\/\/yourlinuxguy.com\/?p=547<\/a><\/p>\n<p>\u628a\u8a8d\u8b49\u6a94\u6848\u7684\u8cc7\u6599\u593e\u505a\u5099\u4efd<br \/>\n<code><br \/>\ncp -av \/etc\/pki\/tls \/etc\/pki\/tls.bak<\/code><\/p>\n<p>\u7528genkey\u5efa\u7acb\u4e00\u500b\u65b0\u7684\u8a8d\u8b49\u6a94<br \/>\n\u800c\u4e14\u5929\u6578\u7d66\u4ed6\u8a2d\u5b9a\u500b\u4e00\u5e74\uff08\u9810\u8a2d\u662f30\u5929\uff09<br \/>\n<code>genkey --days 360 xxx.xxx.xxx<\/code><\/p>\n<p>(xxx.xxx.xxx\u6307\u7684\u662f\u7db2\u5740 localhost\u61c9\u8a72\u4e5f\u6c92\u95dc\u4fc2)<\/p>\n<p>\u904e\u7a0b\u4e2d\u61c9\u8a72\u662f\u6703\u554f\u4e00\u4e9b\u8a2d\u5b9a<br \/>\n\u50cf\u662f\u570b\u5bb6\u7c21\u5beb \u6211\u6253TW<br \/>\n\u5dde\u540d\u4f4d\u7f6e\u6211\u6253 Taiwan\u5168\u540d<br \/>\n\u57ce\u5e02\u3001\u516c\u53f8\u540d\u3001\u90e8\u9580\u540d\u6253\u597d\u4ee5\u5f8c<br \/>\n\u6309\u8457\u8a0a\u606f\u63d0\u793a\u5c31\u6703\u5efa\u7acb\u6a94\u6848\u51fa\u4f86<\/p>\n<p>\u63a5\u8457\u78ba\u8a8d\u751f\u6210\u7684\u8a8d\u8b49\u6a94\u6848\u662f\u5426\u80fd\u8b93apache\u7684ssl.conf\u80fd\u8b80\u53d6\u6b63\u5e38<br \/>\n<code>cd \/etc\/httpd<br \/>\negrep -R -e \"SSLCertificateKeyFile\" -e \"SSLCertificateFile\" *<\/code><\/p>\n<p>\u6c92\u932f\u8aa4\u7684\u8a71<br \/>\n\u5c31\u662f\u91cd\u65b0\u555f\u52d5apache\u670d\u52d9\u4ea6\u53ef<br \/>\n<code>\/etc\/init.d\/httpd restart<\/code><\/p>\n<p>\u5b8c\u6210!~<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5e74\u53c8\u9047\u5230\u554f\u984c\u4e86~XD \u60f3\u5230\u53bb\u5e74\u6709\u767c\u6587\u5230\u9ce5\u54e5\u90a3\u908a\u53bb\u8a62\u554f http:\/\/phorum.vbird.idv.tw\/viewtopic.php?f=2&#038;t=37191 \u9019\u6b21\u518d\u4f86\u4e00\u6b21\u7559\u6a94\u7d66\u81ea\u5df1\u770b\u597d\u4e86 ******************************** \u6700\u8fd1\u767c\u73fe\u7cfb\u7d71\u767c\u4e86\u5e7e\u5c01\u4fe1\u7d66\u6211\u7684linux\u4e3b\u6a5froot\u4fe1\u7bb1 \u6a19\u984c\u662f\u300eThe certificate for jir.no-ip.org will expire in xx days\u300f xx\u662f\u6578\u5b57 \u5167\u5bb9\u5927\u6982\u662f\u5beb\uff1a ################# SSL Certificate Warning ################ Certificate for hostname &#8216;jir.no-ip.org&#8217;, in file (or by nickname): \/etc\/pki\/tls\/certs\/localhost.crt The certificate needs to be renewed; this can be done using the &#8216;genkey&#8217; program. Browsers will not be&#8230; <a href=\"https:\/\/jir.idv.tw\/wordpress\/?p=1501\" class=\"readmore\">Read more (\u5b8c\u6574\u6587\u7ae0\u5167\u5bb9)<span class=\"screen-reader-text\">\u6536\u5230\u7cfb\u7d71\u901a\u77e5\u4fe1\u300eThe certificate for \u500b\u4eba\u7db2\u5740 will expire in xx days\u300f?<\/span><span class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1501","post","type-post","status-publish","format-standard","hentry","category-4","content-layout-excerpt-thumb"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1501"}],"version-history":[{"count":1,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1501\/revisions"}],"predecessor-version":[{"id":1502,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1501\/revisions\/1502"}],"wp:attachment":[{"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}