{"id":3829,"date":"2020-01-30T14:29:09","date_gmt":"2020-01-30T05:29:09","guid":{"rendered":"https:\/\/learningbox.co.jp\/?p=3829"},"modified":"2020-02-10T14:30:55","modified_gmt":"2020-02-10T05:30:55","slug":"blog_ssl-certification","status":"publish","type":"post","link":"https:\/\/learningbox.co.jp\/en\/2020\/01\/30\/blog_ssl-certification\/","title":{"rendered":"Free SSL Certificate Let's Encrypt Recommendation"},"content":{"rendered":"<p>\u9f8d\u91ce\u60c5\u5831\u30b7\u30b9\u30c6\u30e0\u6771\u4eac\u30c1\u30fc\u30e0\u3067\u3059\ud83d\udcbb\uff01\u4eca\u56de\u306fSSL\u306b\u3064\u3044\u3066\u3001\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u3069\u3046\u305e\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u81f4\u3057\u307e\u3059\u3002<\/p>\n<p class=\"mokujimidasi\">\u76ee\u6b21\u306f\u3053\u3061\u3089<\/p>\n<ul class=\"mokuji\">\n<li>\uff11. SSL\u3068\u306f\uff1f<\/li>\n<li>\uff12. Let&#8217;s Encrypt\u3068\u306f\uff1f<\/li>\n<li>\uff13. \u307e\u3068\u3081<\/li>\n<\/ul>\n<h2><strong>SSL\u3068\u306f\uff1f<\/strong><\/h2>\n<p>SSL\uff08Secure Sockets Layer\uff09\u3068\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u306b\u304a\u3051\u308bweb\u30d6\u30e9\u30a6\u30b6\u3068web\u30b5\u30fc\u30d0\u30fc\u9593\u3067\u306e\u30c7\u30fc\u30bf\u306e\u901a\u4fe1\u3092\u6697\u53f7\u5316\u3057\u3001\u9001\u53d7\u4fe1\u3055\u305b\u308b\u4ed5\u7d44\u307f\u306e\u3053\u3068\u3067\u3059\u3002\u901a\u4fe1\u3092\u6697\u53f7\u5316\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u7b2c\u4e09\u8005\u304b\u3089\u306e\u76d7\u8074\u3092\u9632\u304e\u307e\u3059\u3002\u901a\u4fe1\u306e\u5b89\u5168\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u306f\u5fc5\u9808\u3067\u3059\u3002<\/p>\n<h3><strong>\u25bcSSL\u306e\u5f79\u5272<\/strong><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3850\" src=\"https:\/\/learningbox.co.jp\/wp-content\/uploads\/2020\/01\/SSL\u306e\u5f79\u5272.png\" alt=\"SSL\u306e\u5f79\u5272\" width=\"1197\" height=\"328\" srcset=\"https:\/\/learningbox.co.jp\/wp-content\/uploads\/2020\/01\/SSL\u306e\u5f79\u5272.png 1197w, https:\/\/learningbox.co.jp\/wp-content\/uploads\/2020\/01\/SSL\u306e\u5f79\u5272-300x82.png 300w, https:\/\/learningbox.co.jp\/wp-content\/uploads\/2020\/01\/SSL\u306e\u5f79\u5272-768x210.png 768w, https:\/\/learningbox.co.jp\/wp-content\/uploads\/2020\/01\/SSL\u306e\u5f79\u5272-1024x281.png 1024w\" sizes=\"auto, (max-width: 1197px) 100vw, 1197px\" \/><\/p>\n<p><strong>\u6697\u53f7\u5316<\/strong><br \/>\nSSL\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u901a\u4fe1\u3055\u308c\u308b\u60c5\u5831\u3092\u6697\u53f7\u5316\u3057\u307e\u3059\u3002\u4e07\u304c\u4e00\u60c5\u5831\u306e\u9001\u53d7\u4fe1\u4e2d\u306b\u60c5\u5831\u3092\u898b\u3089\u308c\u3066\u3082\u6697\u53f7\u5316\u306b\u3088\u3063\u3066\u5927\u5207\u306a\u60c5\u5831\u304c\u5b88\u3089\u308c\u307e\u3059\u3002<\/p>\n<p><strong>\u8a8d\u8a3c<\/strong><br \/>\nSSL\u306f\u69d8\u3005\u306a\u65b9\u6cd5\u3067\u8a8d\u8a3c\u3055\u308c\u305f\u30b5\u30fc\u30d0\u306b\u3057\u304b\u767a\u884c\u3055\u308c\u307e\u305b\u3093\u3002SSL\u3092\u6301\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u4fe1\u983c\u6027\u3092\u8a3c\u660e\u3059\u308b\u3082\u306e\u3067\u3059\u3002 \u3088\u3063\u3066\u30e6\u30fc\u30b6\u306b\u5b89\u5fc3\u611f\u3092\u4e0e\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>\u6697\u53f7\u5316\u306e\u8a3c\u300chttps\u300d<\/strong><br \/>\nSSL\u3092\u5c0e\u5165\u3057\u305f\u30da\u30fc\u30b8\u306f\u3001URL\u304c\u300chttps:\u300d\u304b\u3089\u59cb\u307e\u308a\u3001\u9375\u30de\u30fc\u30af\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n\u203b\u304a\u4f7f\u3044\u306e\u30d6\u30e9\u30a6\u30b6\u306b\u3088\u3063\u3066\u9375\u30de\u30fc\u30af\u306e\u8868\u793a\u5834\u6240\u306f\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><strong>Let&#8217;s Encrypt\u3068\u306f\uff1f<\/strong><\/h2>\n<p>Let\u2019s Encrypt\u306f\u8ab0\u3067\u3082\u7121\u6599\u3067\u4f7f\u3048\u308bSSL\u306e\u8a8d\u8a3c\u5c40\u3067\u3059\u3002\u3053\u3061\u3089\u306f\u3001\u30a2\u30e1\u30ea\u30ab\u306e\u975e\u55b6\u5229\u56e3\u4f53ISRG (Internet Security Research Group) \u304c\u30012016\u5e74\u304b\u3089\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002<\/p>\n<div class=\"box30\">\n<div class=\"box-title\">\u7121\u6599\u306e\u8a3c\u660e\u66f8\u3068\u6709\u6599\u306e\u8a3c\u660e\u66f8\u306e\u9055\u3044\u306f\u3053\u3061\u3089\uff01<\/div>\n<p><strong>\u6700\u3082\u5927\u304d\u306a\u9055\u3044\u306f\u8cbb\u7528\u8ca0\u62c5\u306e\u6709\u7121\u3067\u3059\u3002<\/strong><br \/>\n\u591a\u304f\u306eSSL\u8a3c\u660e\u66f8\u306f\u8cfc\u5165\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001Let&#8217;s Encrypt\u306e\u5834\u5408\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><strong>\u6697\u53f7\u5f37\u5ea6\u306e\u9055\u3044<\/strong><br \/>\n\u6709\u6599\u306e\u8a3c\u660e\u66f8\u306e\u65b9\u304c\u6697\u53f7\u5f37\u5ea6\u304c\u5f37\u3044\u3068\u601d\u308f\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u7121\u6599\u306e\u8a3c\u660e\u66f8\u3068\u6697\u53f7\u5f37\u5ea6\u306f\u540c\u69d8\u3067\u3059\u3002<br \/>\n\u7121\u6599\u3060\u304b\u3089\u3068\u8a00\u3063\u3066\u3001\u89e3\u8aad\u3055\u308c\u3084\u3059\u3044\u6697\u53f7\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><strong>\u30b5\u30dd\u30fc\u30c8\u5bfe\u5fdc\u306e\u9055\u3044<\/strong><br \/>\n\u624b\u539a\u3044\u30b5\u30dd\u30fc\u30c8\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u6709\u6599\u306e\u8a3c\u660e\u66f8\u3092\u8cfc\u5165\u3057\u305f\u65b9\u304c\u3088\u3044\u3067\u3059\u3002<br \/>\n\u307e\u305f\u3001\u6709\u6599\u306e\u8a3c\u660e\u66f8\u306e\u5834\u5408\u306f\u4ed8\u52a0\u30b5\u30fc\u30d3\u30b9\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u306e\u8fba\u308a\u3082\u52a0\u5473\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<\/div>\n<h3>Let&#8217;s Encrypt\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b\u3002<\/h3>\n<p>\u3053\u3053\u3067\u306fAmazon Linux\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\/usr\/bin\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u90fd\u5408\u4e0a\u3001root\u6a29\u9650\u306b\u3066\u4f5c\u696d\u3092\u5b9f\u65bd\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p class=\"well\">\u30fbcurl\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u6301\u3063\u3066\u304f\u308b<br \/>\ncurl <a href=\"https:\/\/dl.eff.org\/certbot-auto\" rel=\"nofollow\">https:\/\/dl.eff.org\/certbot-auto<\/a> -o \/usr\/bin\/certbot-auto<br \/>\n\u30fb700\u6a29\u9650\u3092\u4ed8\u4e0e<br \/>\nchmod 700 \/usr\/bin\/certbot-auto<br \/>\n\u30fb\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3059\u308b<br \/>\ncd \/usr\/bin\/<br \/>\n.\/certbot-auto certonly &#8211;webroot -w \/var\/www\/html -d [SSL\u3092\u304b\u3051\u305f\u3044\u30c9\u30e1\u30a4\u30f3\u30fbURL] &#8211;email [\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9] -n &#8211;agree-tos &#8211;debug<\/p>\n<p>\u7279\u306b\u554f\u984c\u304c\u306a\u3051\u308c\u3070\u3001\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3067\u8a3c\u660e\u66f8\u306e\u767a\u884c\u307e\u3067\u5b8c\u4e86\u3057\u307e\u3059\u3002<br \/>\n\u767a\u884c\u3055\u308c\u305f\u8a3c\u660e\u66f8\u306f\u3001\u4ee5\u4e0b\u306e\u5834\u6240\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p class=\"well\">\/etc\/letsencrypt\/live\/\u6307\u5b9a\u3057\u305f\u30c9\u30e1\u30a4\u30f3\u30fbURL\u540d\/ \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185<br \/>\ncert.pem<br \/>\nchain.pem<br \/>\nfullchain.pem<br \/>\nprivkey.pem<\/p>\n<p>Apache\u3067\u4f7f\u3046\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3046\u307e\u304f\u3044\u304d\u307e\u3059\u3002<\/p>\n<p class=\"well\">SSLCertificateFile \/etc\/letsencrypt\/live\/\u6307\u5b9a\u3057\u305f\u30c9\u30e1\u30a4\u30f3\u30fbURL\u540d\/fullchain.pem<br \/>\nSSLCertificateKeyFile \/etc\/letsencrypt\/live\/\u6307\u5b9a\u3057\u305f\u30c9\u30e1\u30a4\u30f3\u30fbURL\u540d\/privkey.pem<\/p>\n<p>\u4e0a\u8a18\u8a2d\u5b9a\u5b8c\u4e86\u3057\u305f\u3089\u3001Apache\u3092\u518d\u8d77\u52d5\u3057\u3001\u5b9f\u969b\u306bhttps\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>\u7121\u4e8b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u305f\u3068\u3053\u308d\u3067\u3001\u66f4\u65b0\u624b\u7d9a\u304d\u3082\u81ea\u52d5\u5316\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\nLet&#8217;s Encrypt\u306e\u8a3c\u660e\u66f8\u306f90\u65e5\u9593\u306a\u306e\u3067\u3001\u3084\u3063\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u3067\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u4e00\u756a\u7c21\u5358\u306acron\u3078\u306e\u767b\u9332\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u6587\u3092crontab\u3067\u8a18\u8f09\u3059\u308b\u3060\u3051\u3067\u3001\u81ea\u52d5\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p class=\"well\">00 04 * * 0 \/usr\/local\/bin\/certbot-auto renew 2&gt;&amp;1 | mail -s &#8220;Let&#8217;s Encrypt update information&#8221; \u666e\u6bb5\u4f7f\u7528\u3057\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9 &amp;&amp; \/etc\/init.d\/httpd restart<\/p>\n<p>\u3053\u308c\u3067\u66f4\u65b0\u306e\u5fc5\u8981\u306e\u6709\u7121\u3001\u5fc5\u8981\u3060\u3063\u305f\u5834\u5408\u306e\u81ea\u52d5\u51e6\u7406\u306e\u7d50\u679c\u304c\u30e1\u30fc\u30eb\u3067\u5c4a\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><strong>\u307e\u3068\u3081<\/strong><\/h2>\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001SSL\u306b\u95a2\u3059\u308b\u6a5f\u80fd\u3084\u5f79\u5272\u3001Let\u2019s Encrypt\u3092\u6d3b\u7528\u3057\u305fSSL\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3092\u3001\u7c21\u5358\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u3054\u7d39\u4ecb\u3044\u305f\u3057\u307e\u3057\u305f\u3002\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u662f\u975e\u3001SSL\u306e\u8a2d\u5b9a\u3092\u4f7f\u3044\u3053\u306a\u3057\u307e\u3057\u3087\u3046\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"\u9f8d\u91ce\u60c5\u5831\u30b7\u30b9\u30c6\u30e0\u6771\u4eac\u30c1\u30fc\u30e0\u3067\u3059\ud83d\udcbb\uff01\u4eca\u56de\u306fSSL\u306b\u3064\u3044\u3066\u3001\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u3069\u3046\u305e\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u81f4 [&hellip;]","protected":false},"author":1,"featured_media":3834,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":".p-entry__body h1  {\r\n  \/*\u7dda\u306e\u7a2e\u985e\uff08\u5b9f\u7dda\uff09 \u592a\u3055 \u8272*\/\r\n  border-bottom: solid 8px #3FA5F5;\r\n  display:inline-block;\r\n  font-size:36px;\r\n}\r\n\r\nh2 {\r\n  padding: 0.25em 0.5em;\/*\u4e0a\u4e0b \u5de6\u53f3\u306e\u4f59\u767d*\/\r\n  color: #494949;\/*\u6587\u5b57\u8272*\/\r\n  background: transparent;\/*\u80cc\u666f\u900f\u660e\u306b*\/\r\n  border-left: solid 5px #3FA5F5;\/*\u5de6\u7dda*\/\r\n  padding-left: 19px !important;\r\n  margin-bottom: 24px !important;\r\n}\r\n\r\n.yellowline {background:rgba(0, 0, 0, 0) linear-gradient(transparent 60%, #ffffbc 0%) repeat scroll 0 0;}\r\n\r\n\r\n.mokujimidasi{\r\n  position: relative;\r\n  padding: 0.6em 0.6em 0.6em 1.4em;\r\n  background: #e0edff;\r\n  font-weight:bold;\r\n}\r\n\r\n.mokujimidasi:after {\r\n  position: absolute;\r\n  content: '';\r\n  top: 100%;\r\n  left: 30px;\r\n  border: 15px solid transparent;\r\n  border-top: 15px solid #e0edff;\r\n  width: 0;\r\n  height: 0;\r\n}\r\n\r\n\r\nul.mokuji{\r\n    padding: 0.5em 1em;\r\n    font-weight: bold;\r\n    border: solid 3px #3b5998;\r\n}\r\n\r\nul.mokuji li{\r\n  line-height: 1.5;\r\n  padding: 0.5em 0;\r\n  list-style: none;\r\n}\r\n\r\n.p-entry__body ul.mokuji{\r\nmargin-left:0em;\r\n}\r\n\r\n.p-entry__body p{\r\nmargin-bottom:18px;\r\n}\r\n\r\n.box1 {\r\n    padding: 0.5em 1em;\r\n    margin: 2em 0;\r\n    font-weight: bold;\r\n    border: solid 3px #000000;\r\n}\r\n.box1 p {\r\n    margin: 0; \r\n    padding: 0;\r\n}\r\n\r\n.box28 {\r\n    position: relative;\r\n    margin: 2em 0;\r\n    padding: 25px 10px 7px;\r\n    border: solid 2px #FFC107;\r\n}\r\n.box28 .box-title {\r\n    position: absolute;\r\n    display: inline-block;\r\n    top: -2px;\r\n    left: -2px;\r\n    padding: 0 9px;\r\n    height: 25px;\r\n    line-height: 25px;\r\n    font-size: 17px;\r\n    background: #FFC107;\r\n    color: #ffffff;\r\n    font-weight: bold;\r\n}\r\n.box28 p {\r\n    margin: 0; \r\n    padding: 0;\r\n}\r\n\r\nh3 {\r\n  position: relative;\r\n  padding: 0.25em 0;\r\n}\r\nh3:after {\r\n  content: \"\";\r\n  display: block;\r\n  height: 4px;\r\n  background: -webkit-linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);\r\n  background: linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);\r\n}","veu_display_promotion_alert":"","vkexunit_cta_each_option":"0","footnotes":""},"categories":[6,7,40],"tags":[],"class_list":["post-3829","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-7","category-40"],"acf":[],"jetpack_featured_media_url":"https:\/\/learningbox.co.jp\/wp-content\/uploads\/2020\/01\/1174312.png","jetpack_shortlink":"https:\/\/wp.me\/pgMrZ4-ZL","_links":{"self":[{"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/posts\/3829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/comments?post=3829"}],"version-history":[{"count":21,"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/posts\/3829\/revisions"}],"predecessor-version":[{"id":3835,"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/posts\/3829\/revisions\/3835"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/media\/3834"}],"wp:attachment":[{"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/media?parent=3829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/categories?post=3829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learningbox.co.jp\/en\/wp-json\/wp\/v2\/tags?post=3829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}