{"id":463,"date":"2015-04-01T01:16:12","date_gmt":"2015-03-31T16:16:12","guid":{"rendered":"http:\/\/blog.mamimu.me\/fishblue\/?p=463"},"modified":"2015-04-09T20:51:17","modified_gmt":"2015-04-09T11:51:17","slug":"apache2-4-8%e3%81%a8ssl%e8%a8%bc%e6%98%8e%e6%9b%b8","status":"publish","type":"post","link":"https:\/\/blog.mamimu.me\/fishblue\/?p=463","title":{"rendered":"apache2.4.8\u3068SSL\u8a3c\u660e\u66f8"},"content":{"rendered":"<p>Amazon EC2\u304c1\u5e74\u9593\u7121\u6599\u3067\u4f7f\u3048\u308b\u3068\u306e\u3053\u3068\u306a\u306e\u3067\u6700\u8fd1\u304a\u904a\u3073\u304c\u3066\u3089\u4f7f\u3063\u3066\u307e\u3059\u3002<br \/>\n\uff08\u4f7f\u3044\u59cb\u3081\u304c\u6628\u5e74\u306eGW\u306a\u306e\u3067\u305d\u308d\u305d\u308d\u671f\u9650\u5207\u308c\u306a\u306e\u3067\u3059\u304c\uff08\u7b11\uff09\uff09<\/p>\n<p>\u3067\u3001apache2.4.8\u306bStartSSL\u306e\u7121\u6599SSL\u8a3c\u660e\u66f8\u3092\u8a2d\u5b9a\u3057\u305f\u3068\u304d\u306b\u30cf\u30de\u30c3\u305f\u306e\u3067\u5099\u5fd8\u9332\u4ee3\u308f\u308a\u306b\u30e1\u30e2\u3002<\/p>\n<p>\u30cf\u30de\u30c3\u305f\u539f\u56e0\u30fb\u30fb\u30fbapache2.4.8\u304b\u3089SSLCertificateChainFile\u304c\u4f7f\u3048\u306a\u304f\u306a\u3063\u305f\u3002SSLCertificateChainFile\u306f\u4e2d\u9593\u8a3c\u660e\u66f8\u3092\u8a2d\u5b9a\u3059\u308b\u7b87\u6240\u3067\u3059\u306d\u3002<br \/>\napache2.4.8\u3067\u306f\u4e2d\u9593\u8a3c\u660e\u66f8\u306fSSLCertificateFile\u306b\u8a2d\u5b9a\u3059\u308b\u305d\u3046\u3067\u3059\u3002<br \/>\n\u3053\u308c\u304cnginx\u3060\u3068\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u3068\u4e2d\u9593\u8a3c\u660e\u66f8\u3092cat\u30b3\u30de\u30f3\u30c9\u306a\u3069\u3067\u9023\u7d50\u3059\u308b\u3060\u3051\u306a\u306e\u3067\u3059\u304capache\u3067\u306f\u3053\u306e\u65b9\u6cd5\u306f\u30c0\u30e1\u3067\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/serverfault.com\/questions\/588986\/sslcertificatechainfile-deprecation-warning-on-apache-2-4-8\">\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8<\/a><\/p>\n<p>StartSSL\u306e\u8a3c\u660e\u66f8\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u30012.4.8\u4ee5\u524d\u3067\u306f\u4ee5\u4e0b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\uff08\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u4eee\u3067\u3059\u3002\u5b9f\u969b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\uff09<br \/>\nSSLCertificateFile \/etc\/server.crt<br \/>\nSSLCertificateKeyFile \/etc\/server.key<br \/>\nSSLCertificateChainFile \/etc\/sub.class1.server.ca.pem<br \/>\nSSLCACertificateFile \/etc\/ca.pem<br \/>\n<script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"ca-pub-9128529039742412\";\n\/* for wordpress *\/\ngoogle_ad_slot = \"0240515414\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"https:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/p>\n<p>2.4.8\u3067\u306fSSLCertificateChainFile\u304c\u4f7f\u3048\u306a\u3044\u306e\u3067<br \/>\n\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3063\u3066\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u3068\u4e2d\u9593\u8a3c\u660e\u66f8\u3092\u30de\u30fc\u30b8\u3057\u307e\u3059\u3002<br \/>\n.\/bundle.sh server.crt &gt; myserver.chain<br \/>\n.\/bundle.sh sub.class1.server.ca.pem &gt;&gt; myserver.chain<\/p>\n<p>\u4ee5\u4e0b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002apache\u518d\u8d77\u52d5\u3067OK\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f\u3067\u3059\u3002<br \/>\nSSLCertificateFile \/etc\/myserver.chain<br \/>\nSSLCertificateKeyFile \/etc\/server.key<br \/>\nSSLCACertificateFile \/etc\/ca.pem<br \/>\n<script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"ca-pub-9128529039742412\";\n\/* for wordpress *\/\ngoogle_ad_slot = \"0240515414\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"https:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/p>\n<p>\u306a\u304a\u3001\u8a3c\u660e\u66f8\u306e\u30de\u30fc\u30b8\u306e\u3068\u304d\u306b\u4ee5\u4e0b\u3082\u5b9f\u884c\u3059\u308b\u3068SSLCACertificateFile\u306e\u884c\u304c\u4e0d\u8981\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n.\/bundle.sh ca.pem &gt;&gt; myserver.chain<\/p>\n<p>\u3053\u306e\u5834\u5408\u306f\u4ee5\u4e0b\u306e2\u884c\u3060\u3051\u306e\u8a2d\u5b9a\u3067\u6e08\u307f\u307e\u3059\u3002<br \/>\nSSLCertificateFile \/etc\/myserver.chain<br \/>\nSSLCertificateKeyFile \/etc\/server.key<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amazon EC2\u304c1\u5e74\u9593\u7121\u6599\u3067\u4f7f\u3048\u308b\u3068\u306e\u3053\u3068\u306a\u306e\u3067\u6700\u8fd1\u304a\u904a\u3073\u304c\u3066\u3089\u4f7f\u3063\u3066\u307e\u3059\u3002 \uff08\u4f7f\u3044\u59cb\u3081\u304c\u6628\u5e74\u306eGW\u306a\u306e\u3067\u305d\u308d\u305d\u308d\u671f\u9650\u5207\u308c\u306a\u306e\u3067\u3059\u304c\uff08\u7b11\uff09\uff09 \u3067\u3001apache2.4.8\u306bStartSSL\u306e\u7121\u6599SSL\u8a3c\u660e\u66f8\u3092\u8a2d\u5b9a\u3057\u305f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,4],"tags":[8],"class_list":["post-463","post","type-post","status-publish","format-standard","hentry","category-linux","category-4","tag-aws"],"_links":{"self":[{"href":"https:\/\/blog.mamimu.me\/fishblue\/index.php?rest_route=\/wp\/v2\/posts\/463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mamimu.me\/fishblue\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mamimu.me\/fishblue\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mamimu.me\/fishblue\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mamimu.me\/fishblue\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=463"}],"version-history":[{"count":0,"href":"https:\/\/blog.mamimu.me\/fishblue\/index.php?rest_route=\/wp\/v2\/posts\/463\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mamimu.me\/fishblue\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mamimu.me\/fishblue\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mamimu.me\/fishblue\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}