{"id":472,"date":"2020-08-14T11:11:42","date_gmt":"2020-08-14T03:11:42","guid":{"rendered":"https:\/\/antijava.prjlife.com\/?p=472"},"modified":"2020-08-14T11:11:42","modified_gmt":"2020-08-14T03:11:42","slug":"java-security-cert-certpathvalidatorexception-trust-anchor-for-certification-path-not-found","status":"publish","type":"post","link":"https:\/\/antijava.prjlife.com\/?p=472","title":{"rendered":"java.security.cert.CertPathValidatorException: Trust anchor for certification path not found."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Usually we&#8217;re familiar with error message, but things became weird when app works in all phone except only one failed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I saw this error message in an Asus cellphone (Android 5.0.2) on 2020\/08\/14 when my app tried to connect to an SSL server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally I googled this article and it helped me to solve the problem successfully and immediately.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" href=\"http:\/\/www.codeplayon.com\/2020\/06\/android-java-security-cert-certpathvalidatorexception-trust-anchor-for-certification-path\/\" target=\"_blank\">http:\/\/www.codeplayon.com\/2020\/06\/android-java-security-cert-certpathvalidatorexception-trust-anchor-for-certification-path\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Usually we&#8217;re familiar with error message, but things became weird when app works in all phone except only one failed. I saw this error message in an Asus cellphone (Android 5.0.2) on 2020\/08\/14 when my app tried to connect to &hellip; <a href=\"https:\/\/antijava.prjlife.com\/?p=472\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57,68],"tags":[58,85,84],"class_list":["post-472","post","type-post","status-publish","format-standard","hentry","category-android","category-android-development","tag-android","tag-certificate","tag-ssl"],"_links":{"self":[{"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=\/wp\/v2\/posts\/472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=472"}],"version-history":[{"count":0,"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=\/wp\/v2\/posts\/472\/revisions"}],"wp:attachment":[{"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}