{"id":256,"date":"2020-03-06T23:00:36","date_gmt":"2020-03-06T14:00:36","guid":{"rendered":"http:\/\/hjk.dip.jp\/blog\/?p=256"},"modified":"2021-06-15T09:37:28","modified_gmt":"2021-06-15T00:37:28","slug":"android%e3%81%aechrome%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ab%e3%81%aa%e3%82%89%e3%81%aa%e3%81%84%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%abip%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e3%81%ae%e3%82%aa","status":"publish","type":"post","link":"https:\/\/piko2.net\/blog\/?p=256","title":{"rendered":"Android\u306eChrome\u3067\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u30ed\u30fc\u30ab\u30ebIP\u30a2\u30c9\u30ec\u30b9\u306e\u30aa\u30ec\u30aa\u30ec\u8a3c\u660e\u66f8\u3092\u4f5c\u308b\u624b\u9806"},"content":{"rendered":"<p>\u25a0Android\u306eChrome\u3067\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u30ed\u30fc\u30ab\u30ebIP\u30a2\u30c9\u30ec\u30b9\u306e\u30aa\u30ec\u30aa\u30ec\u8a3c\u660e\u66f8\u3092\u4f5c\u308b\u624b\u9806<\/p>\n<p>\u25cf\u76ee\u7684<br \/>\n\u30fbAndroid\u4e0a\u306eChrome\u3067\u3001\u30ed\u30fc\u30ab\u30ebIP\u30a2\u30c9\u30ec\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3092https\u3067\u958b\u3051\u308b\u3088\u3046\u306b\u3002<br \/>\n\u30fb\u666e\u901a\u306b\u30aa\u30ec\u30aa\u30ec\u8a3c\u660e\u66f8\u4f5c\u308b\u3068\u3001Chrome\u3067\u8b66\u544a\u304c\u51fa\u308b<br \/>\n\u30fbChrome\u7528\u306e\u8a3c\u660e\u66f8\u4f5c\u308b\u624b\u9806\u3060\u3068\u3001Android\u3067\u30a4\u30f3\u30dd\u30fc\u30c8\u3067\u304d\u306a\u3044\u306e\u3067\u3001CA=TRUE\u306b\u3059\u308b<\/p>\n<p>\u25cf\u53c2\u8003<br \/>\nChrome\u3067\u4f7f\u3048\u308b\u30aa\u30ec\u30aa\u30ec\u8a3c\u660e\u66f8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<br \/>\nhttps:\/\/qiita.com\/t-kuni\/items\/d3d72f429273cf0ee31e<\/p>\n<p>Abroid\u7aef\u672b\u3067\u30aa\u30ec\u30aa\u30ec\u8a3c\u660e\u66f8\u304c\u30a4\u30f3\u30dd\u30fc\u30c8\u3055\u308c\u306a\u3044\uff01\uff1f<br \/>\nhttps:\/\/solo-ware.com\/2019\/09\/06\/abroid%E7%AB%AF%E6%9C%AB%E3%81%A7%E3%82%AA%E3%83%AC%E3%82%AA%E3%83%AC%E8%A8%BC%E6%98%8E%E6%9B%B8%E3%81%8C%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%EF%BC%81\/<\/p>\n<p>\u25cf\u4eca\u56de\u306e\u74b0\u5883<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9: 192.168.0.100<\/p>\n<p>\u25cf\u9069\u5f53\u306alinux\u4e0a\u3067\u9375\u3092\u4f5c\u6210<\/p>\n<p>openssl genrsa 2048 &gt; server.key<\/p>\n<p>openssl req -new -key server.key -subj &#8220;\/C=JP\/ST=Some-State\/O=Some-Org\/CN=192.168.0.100&#8221; &gt; server.csr<\/p>\n<p>vi subjectnames.txt<br \/>\n&#8212;<br \/>\n[ SAN ]<br \/>\nsubjectAltName = IP:192.168.0.100<br \/>\nbasicConstraints=CA:TRUE<br \/>\n&#8212;<\/p>\n<p>openssl x509 -days 825 -req -sha256 -in server.csr -signkey server.key -extfile subjectnames.txt -extensions SAN -out server.crt<\/p>\n<p>\u203b\u3053\u3053\u3067825\u65e5\u306b\u3057\u3066\u3044\u308b\u306e\u306f\u3001MacOSX\u306eChrome\u3067 NET::ERR_CERT_REVOKED \u3068\u306a\u3063\u3066\u3057\u307e\u3046\u554f\u984c\u304c\u3042\u308b\u3068\u3044\u3046\u8a18\u4e8b\u304c\u3042\u3063\u305f\u306e\u3067\u3002<br \/>\n\u3082\u3057\u304b\u3057\u305f\u3089Android\u3060\u306836500\u65e5\u3067\u3082\u5927\u4e08\u592b\u304b\u3082\uff1f<br \/>\nhttps:\/\/qiita.com\/ll_kuma_ll\/items\/13c962a6a74874af39c6#20191218-%E8%BF%BD%E8%A8%98<\/p>\n<p>\u5185\u5bb9\u3092\u78ba\u8a8d<br \/>\nopenssl x509 -in server.crt -text -noout<\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u3063\u3066\u308c\u3070OK\u3002<br \/>\n&#8212;<br \/>\n(\u7701\u7565)<br \/>\nSubject: C=JP, ST=Some-State, O=Some-Org, CN=192.168.0.100<br \/>\n(\u7701\u7565)<br \/>\nX509v3 extensions:<br \/>\nX509v3 Subject Alternative Name:<br \/>\nIP Address:192.168.0.100<br \/>\nX509v3 Basic Constraints:<br \/>\nCA:TRUE<br \/>\n&#8212;<\/p>\n<p>\u25cfApache<\/p>\n<p>\u8a3c\u660e\u66f8\u30d5\u30a1\u30a4\u30eb\u3092\u9069\u5207\u306a\u5834\u6240\u306b\u914d\u7f6e<\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u3092\u4e00\u65e6\u7d42\u4e86\u3057\u3066\u3001\u8d77\u52d5\u3059\u308b\u3053\u3068(\u518d\u8d77\u52d5\u3060\u3068\u30c0\u30e1\u304b\u3082)<\/p>\n<p>\u25cfAndroid<\/p>\n<p>\u306a\u3093\u3068\u304b\u3057\u3066Android\u4e0a\u306b\u300cserver.crt\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3002<br \/>\n\u305d\u3044\u3064\u3092\u30d5\u30a1\u30a4\u30e9\u30fc\u304b\u4f55\u304b\u3067\u30bf\u30c3\u30d7\u3059\u308b\u3068\u3001\u8a3c\u660e\u66f8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u753b\u9762\u306b\u306a\u308b\u3002<\/p>\n<p>PIN\u304b\u30d1\u30bf\u30fc\u30f3\u306e\u5165\u529b<\/p>\n<p>\u8a3c\u660e\u66f8\u306e\u540d\u524d\u3092\u6307\u5b9a\u3059\u308b<br \/>\n\u8a3c\u660e\u7f72\u540d: \u9069\u5f53\u306a\u540d\u524d<br \/>\n\u8a8d\u8a3c\u60c5\u5831\u306e\u4f7f\u7528: VPN\u3068\u30a2\u30d7\u30ea<br \/>\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5185\u5bb9: CA\u8a3c\u660e\u66f81\u4ef6 \u2190\u3053\u308c\u304c\u30e6\u30fc\u30b6\u30fc\u8a3c\u660e\u66f8\u3068\u304b\u306b\u306a\u3063\u3066\u306a\u3044\u3053\u3068<\/p>\n<p>-&gt; OK<\/p>\n<p>\u300c\u9069\u5f53\u306a\u540d\u524d\u300d\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059 \u3068\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<p>\u4fe1\u983c\u3067\u304d\u308b\u8a8d\u8a3c\u60c5\u5831<br \/>\n-&gt; \u30e6\u30fc\u30b6\u30fc \u306b\u3001Some-Org 192.168.0.100 \u3068\u8ffd\u52a0\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d<\/p>\n<p>\u203b\u3053\u308c\u304c\u306a\u304b\u306a\u304b\u51fa\u3066\u3053\u306a\u3044\uff01\uff01\u539f\u56e0\u5206\u304b\u3089\u306a\u3044\u3002\u3059\u3054\u304f\u5f85\u3063\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3002<\/p>\n<p>\u25cf\u78ba\u8a8d<\/p>\n<p>\u5168\u90e8\u7d42\u308f\u3063\u305f\u3089\u3001IP\u30a2\u30c9\u30ec\u30b9\u306eURL\u3067\u3082\u3001https\u3067\u9375\u30de\u30fc\u30af\u3064\u3044\u3066\u6b63\u898f\u306ehttps\u30b5\u30a4\u30c8\u3068\u4f55\u3089\u5909\u308f\u3089\u305a\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0Android\u306eChrome\u3067\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u30ed\u30fc\u30ab\u30ebIP\u30a2\u30c9\u30ec\u30b9\u306e\u30aa\u30ec\u30aa\u30ec\u8a3c &hellip; <a href=\"https:\/\/piko2.net\/blog\/?p=256\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-1"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/piko2.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/piko2.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/piko2.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/piko2.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/piko2.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=256"}],"version-history":[{"count":4,"href":"https:\/\/piko2.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/piko2.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/256\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/piko2.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/piko2.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/piko2.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}