{"id":2189,"date":"2017-02-14T18:56:28","date_gmt":"2017-02-14T10:26:28","guid":{"rendered":"http:\/\/sunphiz.me\/wp\/?p=2189"},"modified":"2017-02-14T18:56:28","modified_gmt":"2017-02-14T10:26:28","slug":"gradlew-%ec%8b%a4%ed%96%89-%ec%8b%9c-sslhandshakeexception","status":"publish","type":"post","link":"https:\/\/sunphiz.me\/wp\/archives\/2189","title":{"rendered":"gradlew \uc2e4\ud589 \uc2dc SSLHandshakeException"},"content":{"rendered":"<p>\uc548\ub4dc\ub85c\uc774\ub4dc \uc2a4\ud22c\ub514\uc624\ub294 gradle\uc744 \uc774\uc6a9\ud574 \ud504\ub85c\uc81d\ud2b8\ub97c \ube4c\ub4dc\ud560 \uc218 \uc788\ub2e4. \uba85\ub839\ucc3d\uc5d0\uc11c\ub3c4 \ud504\ub85c\uc81d\ud2b8 \ube4c\ub4dc\ub97c \ud560 \uc218 \uc788\ub3c4\ub85d gradlew.bat \ud30c\uc77c(gradle\uc758 wrapper)\ub3c4 \uc81c\uacf5\ud55c\ub2e4. \ud504\ub85c\uc81d\ud2b8\uc758 \ub8e8\ud2b8(&#8216;\/&#8217;)\uc5d0\uc11c gradlew.bat\ub97c \uc2e4\ud589\ud558\uba74 \uccab \uc2e4\ud589 \uc2dc Gradle \uc0ac\uc774\ud2b8\uc5d0\uc11c gradle \ubc14\uc774\ub108\ub9ac\ub97c \ubc1b\uc544 \uc801\ub2f9\ud55c \uc704\uce58\uc5d0 \uc800\uc7a5\ud558\uace0 \uc124\uce58\ud55c \ud6c4 \uc548\ub4dc\ub85c\uc774\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \ube4c\ub4dc\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\uc900\ub2e4.<\/p>\n<p>\uadf8\ub7f0\ub370, \uc544\ub798\uc640 \uac19\uc740 \uc5d0\ub7ec\uc640 \ud568\uaed8 \uc124\uce58\ubd80\ud130 \uc548\ub418\ub294 \uacbd\uc6b0\uac00 \uc788\ub2e4.<\/p>\n<pre class=\"lang:default decode:true \">&gt;gradlew\nDownloading https:\/\/services.gradle.org\/distributions\/gradle-3.3-all.zip\n\nException in thread \"main\" java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\n        ...\nCaused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\n        ...\nCaused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\n        ...\nCaused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\n        ...<\/pre>\n<p>\ubb3c\ub860 \uadfc\ubcf8\uc801\uc778 \ubb38\uc81c \ud574\uacb0\ub3c4 \uc88b\uc9c0\ub9cc, \ub09c \uadf8\uc800 \uba85\ub839\ucc3d\uc5d0\uc11c gradle \uc2e4\ud589\ud558\uace0 \uc2f6\uc744 \ubfd0\uc778\ub370..<\/p>\n<p>\uc6d0\uc778\uc740 https \ud504\ub85c\ud1a0\ucf5c\uc744 \uc774\uc6a9\ud574 gradle \ubc14\uc774\ub108\ub9ac\ub97c \ubc1b\uae30 \ub54c\ubb38\uc778\ub370 gradle \ubc14\uc774\ub108\ub9ac\ub97c \ubc1b\uc740 url\uc744 \uc218\uc815\ud560 \uc218 \uc788\ub2e4. \uc5c5\ubb34 \ud658\uacbd \uc0c1 \uc218\uc815\uc774 \uc27d\uc9c0 \uc54a\ub2e4\uba74, SSLHandshake\uac00 \ud544\uc694\uc5c6\ub294 htttp\ub97c \ud1b5\ud574 \ubc1b\uc73c\uba74 \ub41c\ub2e4. gradle-wrapper.properties \ud30c\uc77c\uc744 \uc5f4\uc5b4 distributionUrl\uc744 https\uc5d0\uc11c http\ub85c \uc218\uc815\ud558\uc790.<\/p>\n<pre class=\"lang:default decode:true\">distributionUrl=http\\:\/\/services.gradle.org\/distributions\/gradle-3.3-all.zip<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub4dc\ub85c\uc774\ub4dc \uc2a4\ud22c\ub514\uc624\ub294 gradle\uc744 \uc774\uc6a9\ud574 \ud504\ub85c\uc81d\ud2b8\ub97c \ube4c\ub4dc\ud560 \uc218 \uc788\ub2e4. \uba85\ub839\ucc3d\uc5d0\uc11c\ub3c4 \ud504\ub85c\uc81d\ud2b8 \ube4c\ub4dc\ub97c \ud560 \uc218 \uc788\ub3c4\ub85d gradlew.bat \ud30c\uc77c(gradle\uc758 wrapper)\ub3c4 \uc81c\uacf5\ud55c\ub2e4. \ud504\ub85c\uc81d\ud2b8\uc758 \ub8e8\ud2b8(&#8216;\/&#8217;)\uc5d0\uc11c gradlew.bat\ub97c \uc2e4\ud589\ud558\uba74 \uccab \uc2e4\ud589 \uc2dc Gradle \uc0ac\uc774\ud2b8\uc5d0\uc11c gradle \ubc14\uc774\ub108\ub9ac\ub97c \ubc1b\uc544 \uc801\ub2f9\ud55c \uc704\uce58\uc5d0 \uc800\uc7a5\ud558\uace0 \uc124\uce58\ud55c \ud6c4 \uc548\ub4dc\ub85c\uc774\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \ube4c\ub4dc\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\uc900\ub2e4. \uadf8\ub7f0\ub370, \uc544\ub798\uc640 \uac19\uc740 \uc5d0\ub7ec\uc640 \ud568\uaed8 \uc124\uce58\ubd80\ud130 \uc548\ub418\ub294 \uacbd\uc6b0\uac00 \uc788\ub2e4. &gt;gradlew Downloading https:\/\/services.gradle.org\/distributions\/gradle-3.3-all.zip Exception in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[6],"tags":[305,474,322,217],"class_list":["post-2189","post","type-post","status-publish","format-standard","hentry","category-android","tag-gradle","tag-gradlew","tag-sslhandshakeexception","tag-217"],"_links":{"self":[{"href":"https:\/\/sunphiz.me\/wp\/wp-json\/wp\/v2\/posts\/2189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunphiz.me\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunphiz.me\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunphiz.me\/wp\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sunphiz.me\/wp\/wp-json\/wp\/v2\/comments?post=2189"}],"version-history":[{"count":1,"href":"https:\/\/sunphiz.me\/wp\/wp-json\/wp\/v2\/posts\/2189\/revisions"}],"predecessor-version":[{"id":2190,"href":"https:\/\/sunphiz.me\/wp\/wp-json\/wp\/v2\/posts\/2189\/revisions\/2190"}],"wp:attachment":[{"href":"https:\/\/sunphiz.me\/wp\/wp-json\/wp\/v2\/media?parent=2189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunphiz.me\/wp\/wp-json\/wp\/v2\/categories?post=2189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunphiz.me\/wp\/wp-json\/wp\/v2\/tags?post=2189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}