{"id":6,"date":"2017-07-01T00:43:26","date_gmt":"2017-06-30T15:43:26","guid":{"rendered":"http:\/\/portal-sight.com\/wp1\/?p=6"},"modified":"2017-11-17T01:00:53","modified_gmt":"2017-11-16T16:00:53","slug":"letsencryptcoreserver","status":"publish","type":"post","link":"https:\/\/portal-sight.com\/wp1\/?p=6","title":{"rendered":"Let&#8217;sEncrypt+coreserver"},"content":{"rendered":"<p>SSL\u5316\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u306b\u3001\u3082\u3061\u308d\u3093\u5019\u88dc\u306b\u306a\u308b\u7121\u6599\u3067\u4f7f\u3048\u308b\u3051\u3069\uff19\uff10\u65e5\u3054\u3068\u306b\u66f4\u65b0\u3057\u306a\u304d\u3083\u3044\u3051\u306a\u3044Let&#8217;sEncrypt\u3002<\/p>\n<p>\u81ea\u524d\u30b5\u30fc\u30d0\u30fc\u3060\u3068\u81ea\u52d5\u3067\u66f4\u65b0\u3067\u304d\u308b\u3089\u3057\u3044\u3067\u3059\u304c\u3001\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3060\u3057\u3001pem\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u30d5\u30a9\u30fc\u30e0\u306b\u5165\u529b\u3057\u306a\u304d\u3083\u3044\u3051\u306a\u3044\u306e\u3067\u3001\u5b8c\u5168\u81ea\u52d5\u66f4\u65b0\u306b\u306f\u3067\u304d\u306a\u3044<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u7d4c\u7531\u3067\u5165\u529b\u3057\u3066Let&#8217;sEncrypt\u306e\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3067\u304d\u308b\u306e\u3082\u3042\u308b\u3051\u3069\u3001\u3067\u304d\u308b\u9650\u308a\u3084\u3084\u3053\u3057\u304f\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u3057\u305f\u3044\u306e\u3067\u3001vagrant\u3067ubuntu \/ xenial64(https:\/\/app.vagrantup.com\/ubuntu\/boxes\/xenial64)\u3092\u6e96\u5099\u3057\u3066\u3001teraterm\u3067127.0.0.1:2222\uff08vagrant ssh\u3067\u8868\u793a\u3055\u308c\u308b\uff09\u3078SSH\u3057\u305f\u3046\u3048\u3067<\/p>\n<blockquote><p>sudo apt-get update<br \/>\nsudo apt-get install software-properties-common<br \/>\nsudo add-apt-repository ppa:certbot\/certbot<br \/>\nsudo apt-get update<br \/>\nsudo apt-get install python-certbot-apache<\/p>\n<p>\u3053\u3053\u307e\u3067\u306fcertbot\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>sudo certbot certonly -m MAILADDRESS -d portal-sight.com &#8211;agree-tos &#8211;manual<\/p>\n<p>coreserver\u306e\u6307\u5b9a\u3055\u308c\u305f\u30d1\u30b9\u306b\u6307\u5b9a\u3055\u308c\u305f\u5185\u5bb9\u304c\u66f8\u304b\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u7d9a\u3051\u308b\u3068\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b<br \/>\nsudo ls \/etc\/letsencrypt\/live\/<br \/>\nsudo ls \/etc\/letsencrypt\/live\/portal-sight.com\/<br \/>\nsudo cat \/etc\/letsencrypt\/live\/portal-sight.com\/cert.pem<br \/>\nsudo cat \/etc\/letsencrypt\/live\/portal-sight.com\/privkey.pem<br \/>\nsudo cat \/etc\/letsencrypt\/live\/portal-sight.com\/fullchain.pem<br \/>\nsudo cat \/etc\/letsencrypt\/live\/portal-sight.com\/chain.pem<\/p><\/blockquote>\n<p>coreserver\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001\u30c9\u30e1\u30a4\u30f3\u3092SSL\u7528\u306b\u79fb\u3059<\/p>\n<p>privkey.pem,fullchain.pem,chain.pem\u306e\u5185\u5bb9\u3092coreserver\u306e\u6240\u5b9a\u306e\u5834\u6240\u306b\u30b3\u30d4\u30da<\/p>\n<blockquote><p>\/private\/etc\/letsencrypt\/live\/[\u30c9\u30e1\u30a4\u30f3\u540d]\/cert.pem \uff08\u8a3c\u660e\u66f8\uff09<\/p>\n<p>\/private\/etc\/letsencrypt\/live\/[\u30c9\u30e1\u30a4\u30f3\u540d]\/chain.pem \uff08\u4e2d\u9593\u8a3c\u660e\u66f8\uff09<\/p>\n<p>\/private\/etc\/letsencrypt\/live\/[\u30c9\u30e1\u30a4\u30f3\u540d]\/fullchain.pem \uff08\u3072\u3068\u307e\u3068\u3081\u306b\u306a\u3063\u305f\u8a3c\u660e\u66f8\uff09<\/p>\n<p>\/private\/etc\/letsencrypt\/live\/[\u30c9\u30e1\u30a4\u30f3\u540d]\/privkey.pem \uff08\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ad\u30fc \u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306a\u3057\uff09<\/p><\/blockquote>\n<p>\u3067\u5b8c\u6210<\/p>\n<p>\u8a73\u3057\u304f\u306f\u2193\u2193\u2193\u3092\u53c2\u7167<\/p>\n<p><!--more--><\/p>\n<p>https:\/\/qve.jp\/blog\/20160713-1125.html<\/p>\n<p>Windows\u4e0a\u306bVirtualBox+Vagrant\u3067CentOS\u74b0\u5883\u69cb\u7bc9 &#8211; Qiita<br \/>\nhttp:\/\/qiita.com\/TakashiOshikawa\/items\/d2fb48d59e9e316af9a2<\/p>\n<p>A list of base boxes for Vagrant &#8211; Vagrantbox.es<br \/>\nhttp:\/\/www.vagrantbox.es\/<\/p>\n<p>Vagrant\u3092\u4f7f\u3063\u305f\u4eee\u60f3\u74b0\u5883\u5b9f\u4f8b\uff08Debian 8.2.2, MySQL 5.6, PHP 7.0, Apache 2.4\uff09 &#8211; Qiita<br \/>\nhttp:\/\/qiita.com\/sfp_waterwalker\/items\/3417f7984d2cf7661864<\/p>\n<p>Vagrant\u3068TeraTerm\u3067\u4eee\u60f3\u958b\u767a\u74b0\u5883\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5 | while(is\u30d7\u30ed\u30b0\u30e9\u30de)<br \/>\nhttp:\/\/am-yu.net\/2015\/11\/03\/vagrant-teraterm\/<\/p>\n<p>Vagrant box ubuntu\/xenial64 &#8211; Vagrant Cloud<br \/>\nhttps:\/\/app.vagrantup.com\/ubuntu\/boxes\/xenial64<\/p>\n<p>Windows\u3067Vagrant\u304b\u3089VirtualBox\u306eCentOS\u3092\u52d5\u304b\u3059 &#8211; nyan4\u2019s diary<br \/>\n<iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" title=\"Windows\u3067Vagrant\u304b\u3089VirtualBox\u306eCentOS\u3092\u52d5\u304b\u3059 - nyan4\u2019s diary\" src=\"https:\/\/hatenablog-parts.com\/embed?url=http%3A%2F%2Fnyan4.hatenablog.com%2Fentry%2F2017%2F01%2F18%2F162008#?secret=n20Dwwns1Z\" data-secret=\"n20Dwwns1Z\" scrolling=\"no\" frameborder=\"0\"><\/iframe><\/p>\n<hr \/>\n<p>\u5e38\u6642SSL\u5316\u5b8c\u4e86\u306e\u3054\u5831\u544a\u3068SOYCMS\u3067\u306e\u624b\u9806\u306b\u3064\u3044\u3066\uff5c\u304a\u77e5\u3089\u305b\u3084\u30d6\u30ed\u30b0\u3084\u96d1\u8a18\u306a\u3069 &#8211; \u798f\u5cf6\u770c\u306e\u683c\u5b89\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u4f5c\u6210 OnePriceHomepage<br \/>\nhttps:\/\/officenico.net\/blog\/article\/ssl<\/p>\n<p>\u3055\u304f\u3089\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u72ec\u81eaSSL\u300cLet&#8217;s Encrypt\u300d\u5c0e\u5165(Windows10\u7de8) &#8211; Qiita<br \/>\nhttp:\/\/qiita.com\/bass-inu\/items\/43637b3ceb9fa7cf05c7<\/p>\n<p>Let\u2019s Encrypt\u306e\u8a3c\u660e\u66f8\u3092\u81ea\u52d5\u66f4\u65b0\u306b\u3059\u308b<br \/>\nhttps:\/\/runble1.com\/lets-encrypt-auto-update\/<\/p>\n<p>Certbot<br \/>\nhttps:\/\/certbot.eff.org\/#ubuntuxenial-apache<\/p>\n<p>Certificate for WWW and non-WWW &#8211; Help &#8211; Let&#8217;s Encrypt Community Support<br \/>\nhttps:\/\/community.letsencrypt.org\/t\/certificate-for-www-and-non-www\/23965\/2<\/p>\n<p>Let\u2019s Encrypt \u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306e\u53d6\u5f97\u3068\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a\u30e1\u30e2 | \u3042\u3071\u30fc\u30d6\u30ed\u30b0<br \/>\nhttps:\/\/blog.apar.jp\/linux\/3619\/<\/p>\n<p>Let\u2019s Encrypt\u3067Coreserver\u4e0a\u306e\u30d6\u30ed\u30b0\u3092https\u5316\u3057\u3066\u307f\u305f | \u666e\u901a\u7684\u751f\u6d3b<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"8JE6ckA9wl\"><p><a href=\"https:\/\/www.nkozawa.com\/blog\/archives\/3491\">Let&#8217;s Encrypt\u3067Coreserver\u4e0a\u306e\u30d6\u30ed\u30b0\u3092https\u5316\u3057\u3066\u307f\u305f<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Let&#8217;s Encrypt\u3067Coreserver\u4e0a\u306e\u30d6\u30ed\u30b0\u3092https\u5316\u3057\u3066\u307f\u305f&#8221; &#8212; \u666e\u901a\u7684\u751f\u6d3b\" src=\"https:\/\/www.nkozawa.com\/blog\/archives\/3491\/embed#?secret=wVQ5Jx86Sz#?secret=8JE6ckA9wl\" data-secret=\"8JE6ckA9wl\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>SNI\u3092\u4f7f\u7528\u3057\u305fSSL\u306e\u8a2d\u5b9a\uff08\u30b3\u30a2\u30b5\u30fc\u30d0\u30fc\uff09 | VALUE-DOMAIN \u30e6\u30fc\u30b6\u30fc\u30ac\u30a4\u30c9<br \/>\nhttps:\/\/www.value-domain.com\/userguide\/manual\/sni_ssl\/<\/p>\n<p>==============================================================================<br \/>\n2017\/11\/17\u8ffd\u8a18<br \/>\ncoreserver\u306b\u7121\u6599SSL\u304c\u7528\u610f\u3055\u308c\u305f\u3089\u3057\u304f\u3001LetsEncrypt\u3067\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3078Web\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u6a21\u69d8<\/p>\n<ul>\n<li>\u7121\u6599SSL\u4e57\u308a\u63db\u3048 https:\/\/wp.mmrt-jp.net\/2017\/10\/07\/5153\/<\/li>\n<li>\u7121\u6599SSL\u306e\u65b0\u898f\u8a2d\u5b9a https:\/\/www.coreserver.jp\/support\/manual\/security-free-ssl.php<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>SSL\u5316\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u306b\u3001\u3082\u3061\u308d\u3093\u5019\u88dc\u306b\u306a\u308b\u7121\u6599\u3067\u4f7f\u3048\u308b\u3051\u3069\uff19\uff10\u65e5\u3054\u3068\u306b\u66f4\u65b0\u3057\u306a\u304d\u3083\u3044\u3051\u306a\u3044Let&#8217;sEncrypt\u3002 \u81ea\u524d\u30b5\u30fc\u30d0\u30fc\u3060\u3068\u81ea\u52d5\u3067\u66f4\u65b0\u3067\u304d\u308b\u3089\u3057\u3044\u3067\u3059\u304c\u3001\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3060\u3057\u3001pem\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/portal-sight.com\/wp1\/index.php?rest_route=\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portal-sight.com\/wp1\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/portal-sight.com\/wp1\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/portal-sight.com\/wp1\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/portal-sight.com\/wp1\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6"}],"version-history":[{"count":9,"href":"https:\/\/portal-sight.com\/wp1\/index.php?rest_route=\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/portal-sight.com\/wp1\/index.php?rest_route=\/wp\/v2\/posts\/6\/revisions\/45"}],"wp:attachment":[{"href":"https:\/\/portal-sight.com\/wp1\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/portal-sight.com\/wp1\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/portal-sight.com\/wp1\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}