{"id":857,"date":"2020-10-22T11:23:31","date_gmt":"2020-10-22T02:23:31","guid":{"rendered":"http:\/\/systemdev.comsys-blog.com\/?p=857"},"modified":"2020-10-22T11:23:31","modified_gmt":"2020-10-22T02:23:31","slug":"java-%e3%81%8b%e3%82%89ssl%e3%81%a7%e9%80%9a%e4%bf%a1%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%ab%e3%81%af%e3%80%81%e8%a8%bc%e6%98%8e%e6%9b%b8%e3%82%92%e4%bf%a1%e9%a0%bc%e3%81%99%e3%82%8b%e5%bf%85","status":"publish","type":"post","link":"https:\/\/tamura.jp\/?p=857","title":{"rendered":"JAVA \u304b\u3089SSL\u3067\u901a\u4fe1\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u8a3c\u660e\u66f8\u3092\u4fe1\u983c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3063\u3066\u3069\u3046\u3044\u3046\u3053\u3068\uff1f"},"content":{"rendered":"<p>keytool.exe\u3000\u3053\u3044\u3064\u304c\u66f2\u8005<\/p>\n<p>\u4fe1\u983c\u3057\u306a\u3044\u3068java\u306essl\u306f\u5931\u6557\u3059\u308b\u3002SSLException<br \/>\n\u3053\u3063\u3061\u306e\u554f\u984c\u306a\u3093\u3060\u304b\u3089\u3044\u3061\u3044\u3061\u8a2d\u5b9a\u3059\u308b\u306e\u306f\u3046\u3056\u3044\u3068\u601d\u3046\u3002<br \/>\n\u672c\u6765JAVA\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u306eCA\u3092\u4fe1\u983c\u3055\u305b\u3089\u308c\u3066\u3044\u308b\u3002<br \/>\nJAVAHOME\\lib\\security\\cacerts<br \/>\n\u3060\u304b\u3089\u81ea\u5206\u306e\u4f5c\u3063\u305f\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u901a\u4fe1\u3060\u3051\u5931\u6557\u3059\u308b\u3068\u3044\u3046\u60a9\u307f\u306b\u306f\u307e\u308b\u3002<br \/>\n\u3058\u3064\u306b\u6b6f\u304c\u3086\u3044\u3002<\/p>\n<p>HTTPS\u3000LDAPS\u3082\u30b5\u30fc\u30d0\u30fc\u306e\u8a3c\u660e\u66f8\u3092\u53d6\u3063\u3066\u304d\u3066\u4fe1\u983c\u3059\u308b\u3068\u3044\u308f\u306a\u3044\u9650\u308aSSL\u306f\u5931\u6557\u3059\u308b\u3002<br \/>\nLDAPS\u3082\u305d\u3046\u3060\u3068\u3044\u3046\u3053\u3068\u304c\u306f\u304c\u3086\u3044\u3002<br \/>\n\u79c1\u306e\u4eca\u56de\u306e\u30c6\u30fc\u30de\u306fActiveDirectory \u3068LDAPS\u3067\u901a\u4fe1\u3059\u308b\u3053\u3068\u306b\u3042\u3063\u305f\u304b\u3089\u306a\u304a\u3055\u3089\u3067\u3042\u308b\u3002<\/p>\n<p>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d3\u30b9\uff08IIS\uff09\u30de\u30cd\u30fc\u30b8\u30e3<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306b\u3042\u308b\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u3092\u958b\u3044\u3066\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3002<br \/>\ndccert.cer<\/p>\n<p>bin\\keytool.exe -import -trustcacerts -alias \u30b5\u30fc\u30d0\u30fc\u306efqdn -file &#8220;c:\\\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u4fdd\u5b58\u30d5\u30a9\u30eb\u30c0\u30fc\\dcccert.cer&#8221; -keystore &#8220;lib\\security\\cacerts&#8221; -storepass \u30d1\u30b9\u30ef\u30fc\u30c9<\/p>\n<p>\u3053\u306e\u6642\u6ce8\u610f\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u306f\u3001lib\\security\\cacerts \u3092\u65b0\u898f\u306b\u4f5c\u3063\u3066\u3057\u307e\u3046\u3068\u4fe1\u983c\u3067\u304d\u308b\u30b5\u30fc\u30d0\u30fc\u304c\u4eca\u56de\u5165\u308c\u305f\u30b5\u30fc\u30d0\u30fc\u306e\u307f\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3053\u308c\u3067\u3044\u308d\u3044\u308d\u56f0\u308b\u5834\u5408\u304c\u3042\u308b\u306e\u3067\u3001\u65e2\u77e5\u306e\u30b5\u30fc\u30d0\u30fc google amazon \u30fb\u30fb\u30fb\u7b49\u306b\u3082\u3064\u306a\u3052\u308b\u5834\u5408\u306f\u3001JAVA\u306a\u3069\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068cacerts\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304d\u3066\u3053\u308c\u306b\u4fe1\u983c\u3067\u304d\u308b\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066\u81ea\u5206\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u8a3c\u660e\u66f8\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3044\u3044\u3002<\/p>\n<p>\u3053\u3046\u3044\u3046\u3053\u3068\u3063\u3066\u3069\u3063\u304b\u306b\u306f\u66f8\u3044\u3066\u3042\u308b\u306e\u3060\u308d\u3046\u3051\u308c\u3069\u308f\u304b\u308a\u306b\u304f\u3044\u3001\u8a3c\u660e\u66f8\u306e\u751f\u3044\u7acb\u3061\u306a\u3093\u3066\u3069\u3046\u3067\u3082\u3044\u3044\u304b\u3089\u308f\u304b\u308a\u3084\u3059\u3044\u672c\u3092\u898b\u3064\u3051\u305f\u3044\u3082\u306e\u3060\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>keytool.exe\u3000\u3053\u3044\u3064\u304c\u66f2\u8005 \u4fe1\u983c\u3057\u306a\u3044\u3068java\u306essl\u306f\u5931\u6557\u3059\u308b\u3002SSLException \u3053\u3063\u3061\u306e\u554f\u984c\u306a\u3093\u3060\u304b\u3089\u3044\u3061\u3044\u3061\u8a2d\u5b9a\u3059\u308b\u306e\u306f\u3046\u3056\u3044\u3068\u601d\u3046\u3002 \u672c\u6765JAVA\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-857","post","type-post","status-publish","format-standard","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=857"}],"version-history":[{"count":0,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/857\/revisions"}],"wp:attachment":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}