{"id":1838,"date":"2020-04-03T16:49:17","date_gmt":"2020-04-03T08:49:17","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=1838"},"modified":"2020-04-03T16:49:17","modified_gmt":"2020-04-03T08:49:17","slug":"windows-%e6%9c%ac%e5%9c%b0%e6%b5%8b%e8%af%95%e7%94%a8-apache-ssl-%e6%96%b9%e6%b3%95%e8%bf%87%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/1838","title":{"rendered":"windows \u672c\u5730\u6d4b\u8bd5\u7528 apache ssl \u65b9\u6cd5\u8fc7\u7a0b"},"content":{"rendered":"\n

\u9996\u5148\u8981\u770bapache\u7684ssl\u6a21\u5757\u662f\u5426\u5df2\u7ecf\u52a0\u8f7d\u3002\u67e5\u770b\u65b9\u6cd5\uff0c\u6253\u5f00apache\u7684conf\u6587\u4ef6\uff0c\u627e\u5230

#LoadModule ssl_module modules\/mod_ssl.so
\u628a\u524d\u8fb9\u7684#\u53f7\u53bb\u6389\u5373\u53ef\u3002<\/p>\n\n\n\n

\u5c06apache\u76ee\u5f55\u4e0b\u7684conf\u76ee\u5f55\u4e0b\u7684openssl.cnf\u590d\u5236\u5230apache\u7684bin\u76ee\u5f55\u4e0b\u3002\u56de\u5230bin\u76ee\u5f55\u3002cmd\u5230\u6b64\u76ee\u5f55\u3002\u6267\u884c\u4ee5\u4e0bcmd\u547d\u4ee4<\/p>\n\n\n\n

openssl req -config openssl.cnf -new -out server.csr -keyout server.pem<\/p>\n\n\n\n

\u6839\u636e\u63d0\u793a\u8f93\u5165\u4e00\u4e9b\u4fe1\u606f\uff0c\u5c31\u4f1a\u5728\u5f53\u524dbin\u76ee\u5f55\u4e0b\u751f\u6210 server.csr \u548c server.pem \u4e24\u4e2a\u6587\u4ef6\u3002\u987e\u540d\u601d\u4e49\uff0c\u662f\u670d\u52a1\u7aef\u7528\u5230\u7684\u3002<\/p>\n\n\n\n

<\/p>\n\n\n\n



<\/p>\n","protected":false},"excerpt":{"rendered":"

\u9996\u5148\u8981\u770bapache\u7684ssl\u6a21\u5757\u662f\u5426\u5df2\u7ecf\u52a0\u8f7d\u3002\u67e5\u770b\u65b9\u6cd5\uff0c\u6253\u5f00apache\u7684conf\u6587\u4ef6\uff0c\u627e\u5230 #LoadModule ssl_module modules\/mod_ssl.so\u628a\u524d\u8fb9\u7684#\u53f7\u53bb\u6389\u5373\u53ef\u3002 \u5c06apache\u76ee\u5f55\u4e0b\u7684conf\u76ee\u5f55\u4e0b\u7684openssl.cnf\u590d\u5236\u5230apache\u7684bin\u76ee\u5f55\u4e0b\u3002\u56de\u5230bin\u76ee\u5f55\u3002cmd\u5230\u6b64\u76ee\u5f55\u3002\u6267\u884c\u4ee5\u4e0bcmd\u547d\u4ee4 openssl req -config openssl.cnf -new -out server.csr -keyout server.pem \u6839\u636e\u63d0\u793a\u8f93\u5165\u4e00\u4e9b\u4fe1\u606f\uff0c\u5c31\u4f1a\u5728\u5f53\u524dbin\u76ee\u5f55\u4e0b\u751f\u6210 server.csr \u548c server.pem \u4e24\u4e2a\u6587\u4ef6\u3002\u987e<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1838"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=1838"}],"version-history":[{"count":3,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1838\/revisions"}],"predecessor-version":[{"id":1841,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1838\/revisions\/1841"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=1838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=1838"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=1838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}