{"id":734,"date":"2017-02-23T17:43:57","date_gmt":"2017-02-23T08:43:57","guid":{"rendered":"http:\/\/tech.at-iroha.jp\/?p=734"},"modified":"2018-03-20T19:12:17","modified_gmt":"2018-03-20T10:12:17","slug":"%e9%8d%b5%e3%82%b9%e3%83%88%e3%82%a2%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e5%a4%89%e6%8f%9b%e3%81%a8%e3%82%a2%e3%83%97%e3%83%aa%e3%81%ae%e7%bd%b2%e5%90%8d%e3%81%ab%e9%96%a2%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/tech.at-iroha.jp\/?p=734","title":{"rendered":"\u9375\u30b9\u30c8\u30a2\u30d5\u30a1\u30a4\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u7f72\u540d\u306b\u95a2\u3059\u308b\u60c5\u5831\u306e\u6574\u7406"},"content":{"rendered":"<p>\u904e\u53bb\u306b\u958b\u767a\u3057\u305f Adobe AIR \u30a2\u30d7\u30ea\u3092\u3001 \u65b0\u3057\u304f\u958b\u767a\u3057\u305f Cordova \u30a2\u30d7\u30ea\u306b\u7f6e\u304d\u63db\u3048\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u3046\u307e\u304f\u3044\u304b\u305a\u3001\u9375\u30b9\u30c8\u30a2\u30d5\u30a1\u30a4\u30eb\u306e\u5f62\u5f0f\u5909\u63db\u3084\u3001\u30a2\u30d7\u30ea\u306e\u7f72\u540d\u3067\u975e\u5e38\u306b\u624b\u9593\u53d6\u3063\u3066\u3057\u307e\u3063\u305f\u70ba\u3001\u4e00\u9023\u306e\u60c5\u5831\u3092\u6574\u7406\u3057\u3066\u307f\u307e\u3057\u305f\u3002Adobe AIR \u3084 Cordova \u306b\u9650\u3089\u305a\u3001\u65e2\u5b58\u306e\u30a2\u30d7\u30ea\u3092\u4ed6\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u958b\u767a\u3057\u305f\u30a2\u30d7\u30ea\u306b\u7f6e\u304d\u63db\u3048\u305f\u3044\u5834\u5408\u306b\u3082\u53c2\u8003\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4eca\u56de\u5bfe\u8c61\u3068\u306a\u308b\u30a2\u30d7\u30ea\u306f Android \u30a2\u30d7\u30ea\u3067\u3059\u3002iOS\u30a2\u30d7\u30ea\u306b\u3064\u3044\u3066\u3082\u4eca\u5f8c\u691c\u8a3c\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<br \/>\n\u7f72\u540d\u304c\u4e00\u81f4\u3057\u306a\u3044\u3053\u3068\u304c\u539f\u56e0\u3067\u30a2\u30d7\u30ea\u304c\u4e0a\u66f8\u304d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u300c\u540d\u524d\u304c\u540c\u3058\u3067\u3001\u7f72\u540d\u304c\u7af6\u5408\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u65e2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u300d<\/p>\n<p>\u9375\u30b9\u30c8\u30a2\u30d5\u30a1\u30a4\u30eb\u306e\u64cd\u4f5c\u306b\u306f Java SDK \u306b\u540c\u68b1\u3055\u308c\u3066\u3044\u308b keytool \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u65e7\u30a2\u30d7\u30ea\u306e\u7f72\u540d\u5185\u5bb9\u3092\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\r\nkeytool -list -printcert -jarfile old-app.apk\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<br \/>\n<img decoding=\"async\" src=\"http:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2017\/02\/a0214934734379498b8947c3233018a7.png\" \/><\/p>\n<p>\u6b21\u306b\u65e7\u30a2\u30d7\u30ea\u306e\u7f72\u540d\u306b\u4f7f\u7528\u3057\u305f\u3067\u3042\u308d\u3046\u9375\u30b9\u30c8\u30a2\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u9375\u30b9\u30c8\u30a2\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u4e3b\u306b\u4ee5\u4e0b\u306e2\u7a2e\u985e\u306e\u5f62\u5f0f\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u5f62\u5f0f<\/th>\n<th>\u62e1\u5f35\u5b50<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>PKCS#12<\/td>\n<td>.p12 \u3082\u3057\u304f\u306f .pfx<\/td>\n<td>Public-Key Cryptography Standards\u306e\u7565\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u57fa\u3065\u304f\u9375\uff08\u6697\u53f7\uff09\u306b\u3088\u308a\u4fdd\u8b77\u3055\u308c\u305f\u79d8\u5bc6\u9375\u3068\u3001\u305d\u308c\u306b\u95a2\u9023\u3059\u308b\u516c\u958b\u9375\u8a3c\u660e\u66f8\u3092\u4fdd\u7ba1\u3059\u308b\u305f\u3081\u306b\u5229\u7528\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u5b9a\u7fa9\u3002PFX\u306f PKCS#12 \u306e\u65e7\u79f0\u3002Adobe AIR \u3067\u306f\u3053\u306e\u5f62\u5f0f\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/td>\n<\/tr>\n<tr>\n<td>JKS<\/td>\n<td>.jks \u3082\u3057\u304f\u306f .keystore<\/td>\n<td>Java KeyStore\u306e\u7565\u3002\u975e\u516c\u958b\u9375\u3001\u304a\u3088\u3073\u95a2\u9023\u3059\u308b\u8a3c\u660e\u66f8\u307e\u305f\u306f\u8a3c\u660e\u66f8\u30c1\u30a7\u30fc\u30f3\u306e\u4e21\u65b9\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5f62\u5f0f\u3002Android \u3067\u63a1\u7528\u3055\u308c\u3066\u3044\u308b\u306e\u306f\u3053\u306e\u5f62\u5f0f\u3067\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u25c6 PKCS#12 (.p12) \u306e\u5834\u5408<\/p>\n<pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\r\nkeytool -v -list -storetype pkcs12 -keystore mykey.p12\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<br \/>\n<img decoding=\"async\" src=\"http:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2017\/02\/2e346287bf391b02bc8d02b5c67dcda9.png\" \/><\/p>\n<p>\u25c6 JKS (.keystore) \u306e\u5834\u5408<\/p>\n<pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\r\nkeytool -v -list -keystore mykey.keystore\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<br \/>\n<img decoding=\"async\" src=\"http:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2017\/02\/9da31056a5b5df3eb277ba645f2778a8.png\" \/><\/p>\n<p>\u30d5\u30a3\u30f3\u30ac\u30d7\u30ea\u30f3\u30c8\u306e\u5185\u5bb9\u304c\u4e00\u81f4\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3053\u3053\u304b\u3089\u5148\u306b\u9032\u3081\u307e\u305b\u3093\u3002\u7f72\u540d\u306b\u4f7f\u7528\u3057\u305f\u9375\u30b9\u30c8\u30a2\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3059\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>PKCS#12\u5f62\u5f0f(.p12)\u3068JKS\u5f62\u5f0f(.keystore)\u306e\u9375\u30b9\u30c8\u30a2\u30d5\u30a1\u30a4\u30eb\u306f\u76f8\u4e92\u306b\u5909\u63db\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u305d\u308c\u305e\u308c\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5909\u63db\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u25c6 PKCS#12\u5f62\u5f0f(.p12) \u304b\u3089 JKS\u5f62\u5f0f(.keystore) \u3078\u5909\u63db\u3059\u308b\u5834\u5408<\/p>\n<pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\r\nkeytool -importkeystore -srckeystore mykey.p12 -destkeystore mykey.keystore -srcstoretype pkcs12\r\n<\/pre>\n<p>\u25c6 JKS\u5f62\u5f0f(.keystore) \u304b\u3089PKCS#12\u5f62\u5f0f(.p12) \u3078\u5909\u63db\u3059\u308b\u5834\u5408<\/p>\n<pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\r\nkeytool -importkeystore -srckeystore mykey.keystore -destkeystore mykey.p12 -srcstoretype jks -deststoretype pkcs12\r\n<\/pre>\n<p>\u7f72\u540d\u306e\u6e96\u5099\u304c\u6574\u3063\u305f\u3089\u3001\u30ea\u30ea\u30fc\u30b9\u7528\u306e\u672a\u7f72\u540d\u306e\u30a2\u30d7\u30ea\u3092\u751f\u6210\u3057\u307e\u3059\u3002Cordova \u306e\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3066\u751f\u6210\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\r\ncordova build android --release\r\n<\/pre>\n<p>\u672a\u7f72\u540d\u306e\u30a2\u30d7\u30ea\u306bJKS\u5f62\u5f0f(.keystore)\u306e\u9375\u30b9\u30c8\u30a2\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u7f72\u540d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\r\njarsigner -verbose -keystore mykey.keystore android-release-unsigned.apk myname\r\n<\/pre>\n<p>\u203bmyname \u306f\u30a8\u30a4\u30ea\u30a2\u30b9\u540d\u3067\u3059\u3002\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306e\u8868\u793a\u7d50\u679c\u306e\u300c\u5225\u540d\u300d\u306b\u3066\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\r\nkeytool -v -list -keystore mykey.keystore\r\n<\/pre>\n<p>\u6700\u5f8c\u306b \u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306e\u8868\u793a\u7d50\u679c\u3068\u3001\u7f72\u540d\u306b\u4f7f\u7528\u3057\u305f\u30d5\u30a3\u30f3\u30ac\u30d7\u30ea\u30f3\u30c8\u3067\u540c\u3058\u5185\u5bb9\u304c\u3055\u308c\u3066\u3044\u308c\u3070\u4e0a\u66f8\u304d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\r\nkeytool -list -printcert -jarfile android-release-unsigned.apk\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u904e\u53bb\u306b\u958b\u767a\u3057\u305f Adobe AIR \u30a2\u30d7\u30ea\u3092\u3001 \u65b0\u3057\u304f\u958b\u767a\u3057\u305f Cordova \u30a2\u30d7\u30ea\u306b\u7f6e\u304d\u63db\u3048\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u3046\u307e\u304f\u3044\u304b\u305a\u3001\u9375\u30b9\u30c8\u30a2\u30d5\u30a1\u30a4\u30eb\u306e\u5f62\u5f0f\u5909\u63db\u3084\u3001\u30a2\u30d7\u30ea\u306e\u7f72\u540d\u3067\u975e\u5e38\u306b\u624b\u9593\u53d6\u3063\u3066\u3057\u307e\u3063\u305f\u70ba\u3001\u4e00\u9023\u306e\u60c5\u5831\u3092\u6574\u7406\u3057\u3066 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":766,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,1],"tags":[],"class_list":["post-734","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-adobe-airflex","category-unclassified"],"_links":{"self":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=734"}],"version-history":[{"count":31,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/734\/revisions"}],"predecessor-version":[{"id":822,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/734\/revisions\/822"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/media\/766"}],"wp:attachment":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}