<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>2016/02/25 on Yano&#39;s digital garage</title>
    <link>https://www.bravotouring.com/~yano/archives/2016/02/25/</link>
    <description>Recent content in 2016/02/25 on Yano&#39;s digital garage</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 25 Feb 2016 23:37:08 +0900</lastBuildDate>
    <atom:link href="https://www.bravotouring.com/~yano/archives/2016/02/25/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Let&#39;s Encrypt対応</title>
      <link>https://www.bravotouring.com/~yano/diary/it/20160225_encrypt.htm</link>
      <pubDate>Thu, 25 Feb 2016 23:37:08 +0900</pubDate>
      <guid>https://www.bravotouring.com/~yano/diary/it/20160225_encrypt.htm</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20160224_encrypt.htm&#34;&gt;昨日&lt;/a&gt;書いた、&lt;a href=&#34;https://letsencrypt.org/&#34;&gt;Let&#39;s Encrypt&lt;/a&gt;プロジェクト。&lt;/p&gt;&#xA;&lt;table align=&#34;right&#34; class=&#34;Landscape&#34;&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;&lt;img alt=&#34;Hello World, Let&#39;s Encrypt&#34; src=&#34;https://www.bravotouring.com/~yano/images/2016/20160224_encrypt.png&#34;/&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td class=&#34;PhotoMemo&#34;&gt;&lt;a href=&#34;https://helloworld.letsencrypt.org/&#34;&gt;Hello World, Let&#39;s Encrypt&lt;/a&gt;より&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20150501startssl.htm&#34;&gt;5月のStartSSL更新&lt;/a&gt;に間に合うよう…と書いたものの、やっぱり気になるのでさっそくやってみた。&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://letsencrypt.jp/usage/&#34;&gt;Let&#39;s Encrypt の使い方&lt;/a&gt;に従って&lt;blockquote class=&#34;Log&#34;&gt;yano@vps:~$ git clone https://github.com/letsencrypt/letsencrypt&lt;br/&gt;yano@vps:~$ cd ~/letsencrypt/&lt;br/&gt;yano@vps:~/letsencrypt$ ./letsencrypt-auto certonly -a standalone -d mail.bravotouring.com&lt;/blockquote&gt;とやってみたところ、何やらエラーになったっぽかったので昨夜は一旦諦めたのだが、今朝&lt;a href=&#34;https://letsencrypt.jp/usage/&#34;&gt;Let&#39;s Encrypt の使い方&lt;/a&gt;を読み直したところ、&lt;blockquote cite=&#34;https://letsencrypt.jp/usage/&#34;&gt;Let&#39;s Encrypt クライアントソフトウェアは、ドメイン所有者であることの認証に TCP Port 80 を使用しているため、SSL/TLS サーバ証明書を取得プロセスを完了させるためには、&lt;span class=&#34;Warning&#34;&gt;Webサーバを一時的に終了&lt;/span&gt;させる必要があります。&lt;/blockquote&gt;と書いてあるのに気付いた。&lt;/p&gt;&#xA;&lt;p&gt;というわけで、&lt;span class=&#34;Warning&#34;&gt;Webサーバを一時的に終了&lt;/span&gt;させた後でやり直して &lt;span class=&#34;Path&#34;&gt;/etc/letsencrypt/archive&lt;/span&gt; 配下に証明書等が生成される事を確認。&lt;/p&gt;&#xA;&lt;p&gt;&lt;span class=&#34;Software&#34;&gt;apache&lt;/span&gt;設定ファイル &lt;span class=&#34;Path&#34;&gt;/etc/apache2/sites-available/mail.bravotouring.com.conf&lt;/span&gt; の&#xA;&lt;blockquote class=&#34;Log&#34;&gt;SSLCertificateFile      /etc/letsencrypt/live/mail.bravotouring.com/cert.pem&lt;br/&gt;&#xA;SSLCertificateKeyFile   /etc/letsencrypt/live/mail.bravotouring.com/privkey.pem&lt;br/&gt;&#xA;SSLCertificateChainFile /etc/letsencrypt/live/mail.bravotouring.com/chain.pem&lt;/blockquote&gt;&#xA;で&lt;span class=&#34;Path&#34;&gt;/etc/letsencrypt/live&lt;/span&gt; 配下のシンボリックリンクを指すようにして確認OK。&lt;/p&gt;&#xA;&lt;p&gt;…と思ったのだが、自宅のIPv6環境からではダメだった。なんだ～、&lt;a href=&#34;https://letsencrypt.org/&#34;&gt;Let&#39;s Encrypt&lt;/a&gt;まだまだかな…と思いつつ、&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20150501startssl.htm&#34;&gt;StartSSLの証明書&lt;/a&gt;に戻してみても状況は変わらず。おぉぉぉっ、そういえば&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20150609_ipv6.htm&#34;&gt;6月のIPv6 by auひかり&lt;/a&gt;の後は確認してなかった気がするよ。orz&lt;/p&gt;&#xA;&lt;p&gt;「IPv6だとサーバ証明書も違うんだっけ、ていうかIPアドレス関係あったっけか？」と思い調べてみたところ、やはりそういうわけでもないらしい。&#34;IPアドレス&#34;で縛られてしまうようだと分散冗長構成に差し支えるので、大規模な商用サービスでは全然使えない事になる。&lt;/p&gt;&#xA;&lt;p&gt;という事は、単純に&lt;span class=&#34;Software&#34;&gt;apache&lt;/span&gt;設定の&lt;span class=&#34;Warning&#34;&gt;IPv6対応をしくじっている&lt;/span&gt;という事が考えられるので&lt;span class=&#34;Path&#34;&gt;/etc/apache2/sites-available/mail.bravotouring.com.conf&lt;/span&gt;を素直に見直したところ、&lt;blockquote cite=&#34;/etc/apache2/sites-available/mail.bravotouring.com.conf&#34;&gt;&lt;VirtualHost www.bravotouring.com:443&gt;&lt;/blockquote&gt;を&lt;blockquote cite=&#34;/etc/apache2/sites-available/mail.bravotouring.com.conf&#34;&gt;&lt;VirtualHost &lt;span class=&#34;Topics&#34;&gt;*&lt;/span&gt;:443&gt;&lt;/blockquote&gt;と訂正する事で無事解決した。&lt;/p&gt;&#xA;&lt;p&gt;【追記】&lt;span class=&#34;Topics&#34;&gt;webroot&lt;/span&gt;プラグインを使用する事で&lt;span class=&#34;Warning&#34;&gt;Webサーバを一時的に終了&lt;/span&gt;させずに認証できた。にゃるほど～。&lt;blockquote class=&#34;Log&#34;&gt;yano@vps:~/letsencrypt$ sudo ./letsencrypt/letsencrypt-auto certonly &lt;span class=&#34;Topics&#34;&gt;--webroot --webroot-path=/var/www/html&lt;/span&gt; -d mail.bravotouring.com&lt;/blockquote&gt;&lt;/p&gt;&#xA;&lt;p class=&#34;Reference&#34;&gt;【参照】&#xA;&#x9;&lt;br/&gt;●INTERNET Watch &lt;a href=&#34;http://internet.watch.impress.co.jp/&#34;&gt;http://internet.watch.impress.co.jp/&lt;/a&gt;&#xA;&lt;br/&gt;┣&lt;a href=&#34;http://internet.watch.impress.co.jp/docs/news/20141119_676866.html&#34;&gt;証明書を無料で発行、HTTPSの導入を支援する「Let&#39;s Encrypt」2015年夏開始&lt;/a&gt; 2014年11月19日&#xA;&#x9;&lt;br/&gt;┗&lt;a href=&#34;http://internet.watch.impress.co.jp/docs/news/20160224_745150.html&#34;&gt;ファーストサーバ、無料SSL証明書「Let&#39;s Encrypt」の取り扱いを開始&lt;/a&gt; 2016年2月24日&#xA;&#x9;&lt;br/&gt;●Let&#39;s Encrypt &lt;a href=&#34;https://letsencrypt.org/&#34;&gt;https://letsencrypt.org/&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;https://letsencrypt.org/2015/06/16/lets-encrypt-launch-schedule.html&#34;&gt;Let&#39;s Encrypt Launch Schedule&lt;/a&gt; 2015年6月16日&#xA;&#x9;&lt;br/&gt;●Let&#39;s Encrypt 総合ポータル &lt;a href=&#34;https://letsencrypt.jp/&#34;&gt;https://letsencrypt.jp/&lt;/a&gt;&#xA;&lt;br/&gt;┣&lt;a href=&#34;https://letsencrypt.jp/usage/&#34;&gt;Let&#39;s Encrypt の使い方&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;https://letsencrypt.jp/docs/using.html&#34;&gt;ユーザーガイド&lt;/a&gt;&#xA;&lt;br/&gt;●GitHub - letsencrypt/letsencrypt &lt;a href=&#34;https://github.com/letsencrypt/&#34;&gt;https://github.com/letsencrypt/&lt;/a&gt;&#xA;&lt;br/&gt;●Wikipedia &lt;a href=&#34;https://ja.wikipedia.org/wiki/&#34;&gt;https://ja.wikipedia.org/wiki/&lt;/a&gt;&#xA;&lt;br/&gt;┣&lt;a href=&#34;https://ja.wikipedia.org/wiki/HTTPS&#34;&gt;HTTPS&lt;/a&gt;&#xA;&lt;br/&gt;┣&lt;a href=&#34;https://ja.wikipedia.org/wiki/Transport_Layer_Security&#34;&gt;Transport Layer Security&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;https://ja.wikipedia.org/wiki/Let%27s_Encrypt&#34;&gt;Let&#39;s Encrypt&lt;/a&gt;&#xA;&lt;/p&gt;</description>
    </item>
    <item>
      <title>無料WiFiの落とし穴</title>
      <link>https://www.bravotouring.com/~yano/diary/it/20160225_mwc.htm</link>
      <pubDate>Thu, 25 Feb 2016 23:36:41 +0900</pubDate>
      <guid>https://www.bravotouring.com/~yano/diary/it/20160225_mwc.htm</guid>
      <description>&lt;p&gt;22日から始まったMWC(&lt;a href=&#34;https://ja.wikipedia.org/wiki/%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E3%83%AF%E3%83%BC%E3%83%AB%E3%83%89%E3%82%B3%E3%83%B3%E3%82%B0%E3%83%AC%E3%82%B9&#34;&gt;モバイルワールドコングレス&lt;/a&gt;)2016で賑わうスペイン・バルセロナで&lt;a href=&#34;https://ja.wikipedia.org/wiki/AVAST_Software&#34;&gt;AVAST&lt;/a&gt;が興味深い実験を行った。&lt;/p&gt;&#xA;&lt;table align=&#34;right&#34; class=&#34;Panorama&#34;&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;&lt;img alt=&#34;MWC 2016でWiFiハック実験。接続した端末の63%からデバイスと身元情報が割れる&#34; src=&#34;https://www.bravotouring.com/~yano/images/2016/20160225_mwc.jpg&#34;/&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td class=&#34;PhotoMemo&#34;&gt;&lt;a href=&#34;http://japanese.engadget.com/2016/02/24/mwc-2016-wifi-63/&#34;&gt;Engadget Japanese記事&lt;/a&gt;より&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;なんと、バルセロナ空港においてカフェや空港、イベント会場で使われるのと&lt;span class=&#34;Warning&#34;&gt;同じ名前で偽装した&lt;/span&gt;無線LANをこっそり設置したところ、わずか4時間で2000人以上が偽装とは気付かず接続しインターネット通信を行ったそうだ。&lt;/p&gt;&#xA;&lt;p&gt;最近はコンビニなどでも無線LANサービスをやっているので、&lt;blockquote cite=&#34;http://japanese.engadget.com/2016/02/24/mwc-2016-wifi-63/&#34;&gt;すでに接続したことのある SSID と同名のアクセスポイントがあれば、セキュリティパスワードが同じなら自動的に接続します。&lt;/blockquote&gt;という便利な機能に甘んじている人も多いと思うが、裏を返すと&lt;span class=&#34;Warning&#34;&gt;同じ名前で偽装した無線LAN&lt;/span&gt;を設置しておくだけで不特定多数の端末を捕まえる事ができるという落とし穴に気付くべきだ。&lt;/p&gt;&#xA;&lt;p&gt;ていうか、個人的には「情報を盗まれる」というリスク以前に、街角で不意に電波の弱い無線LANを捕まえて通信が滞って困るケースの方が多く、どちらかというと騒音に近い迷惑な存在になりつつある&lt;a href=&#34;https://ja.wikipedia.org/wiki/%E5%85%AC%E8%A1%86%E7%84%A1%E7%B7%9ALAN&#34;&gt;公衆無線LAN&lt;/a&gt;。&lt;/p&gt;&#xA;&lt;p&gt;有料、無料を問わず、自動接続にするのは考え直した方が良いですな。&lt;/p&gt;&#xA;&lt;p class=&#34;Reference&#34;&gt;【参照】&#xA;&#x9;&lt;br/&gt;●INTERNET Watch &lt;a href=&#34;http://internet.watch.impress.co.jp/&#34;&gt;http://internet.watch.impress.co.jp/&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;http://internet.watch.impress.co.jp/docs/news/20160224_745185.html&#34;&gt;MWC参加者に偽のWi-Fiスポットでハッキング実験、接続した2000人のうち63.5％が端末と身元を特定される&lt;/a&gt; 2016年2月24日&#xA;&#x9;&lt;br/&gt;●Engadget Japanese &lt;a href=&#34;http://japanese.engadget.com/&#34;&gt;http://japanese.engadget.com/&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;http://japanese.engadget.com/2016/02/24/mwc-2016-wifi-63/&#34;&gt;MWC 2016でWiFiハック実験。接続した端末の63%からデバイスと身元情報が割れる&lt;/a&gt; 2016年2月24日&#xA;&#x9;&lt;br/&gt;●ITmedia エンタープライズ &lt;a href=&#34;http://www.itmedia.co.jp/enterprise/&#34;&gt;http://www.itmedia.co.jp/enterprise/&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;http://www.itmedia.co.jp/enterprise/articles/1602/24/news065.html&#34;&gt;ウイルス対策ソフトメーカーが発表：空港で不正Wi-Fiの提供実験　2000人以上が接続、63.5％が端末や身元を特定される&lt;/a&gt; 2016年2月24日&#xA;&#x9;&lt;br/&gt;●ギズモード・ジャパン &lt;a href=&#34;http://www.gizmodo.jp/&#34;&gt;http://www.gizmodo.jp/&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;http://www.gizmodo.jp/2016/02/mwcwi-fi.html&#34;&gt;その無料Wi-Fi、本物…？ 公式を装いデータ盗み出す手口に警鐘&lt;/a&gt; 2016年2月24日&#xA;&#x9;&lt;br/&gt;●Wikipedia &lt;a href=&#34;https://ja.wikipedia.org/wiki/&#34;&gt;https://ja.wikipedia.org/wiki/&lt;/a&gt;&#xA;&lt;br/&gt;┣&lt;a href=&#34;https://ja.wikipedia.org/wiki/%E7%84%A1%E7%B7%9ALAN&#34;&gt;無線LAN&lt;/a&gt;&#xA;&lt;br/&gt;┣&lt;a href=&#34;https://ja.wikipedia.org/wiki/%E5%85%AC%E8%A1%86%E7%84%A1%E7%B7%9ALAN&#34;&gt;公衆無線LAN&lt;/a&gt;&#xA;&lt;br/&gt;┣&lt;a href=&#34;https://ja.wikipedia.org/wiki/%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E3%83%AF%E3%83%BC%E3%83%AB%E3%83%89%E3%82%B3%E3%83%B3%E3%82%B0%E3%83%AC%E3%82%B9&#34;&gt;モバイルワールドコングレス&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;https://ja.wikipedia.org/wiki/AVAST_Software&#34;&gt;AVAST Software&lt;/a&gt;&#xA;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
