khwarizmi Active Member Licensed User Longtime User Oct 9, 2021 #1 Hi all Refer to this tutorial, ImageDownloader - The simple way to download images, I got this error: [CODE lang="b4x"]ResponseError. Reason: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found., Response: Error downloading image: https://khw-solutions.top/images/OnlineInstitute/1.jpg javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. [/CODE] I had doubts about the SSL certificate for my site,It does not appear in the title. so I tested it on the site: SSL Checker Use our fast SSL Checker will help you troubleshoot common SSL Certificate installation problems on your server including verifying that the correct certificate is installed, valid, and properly trusted. www.sslshopper.com The result was: The certificate should be trusted by all major web browsers (all the correct intermediate certificates are installed). And on the site: SSL Server Test (Powered by Qualys SSL Labs) A comprehensive free SSL test for your public web servers. www.ssllabs.com The result was: This site works only in browsers with SNI support. Certificate TransparencyYes (certificate)
Hi all Refer to this tutorial, ImageDownloader - The simple way to download images, I got this error: [CODE lang="b4x"]ResponseError. Reason: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found., Response: Error downloading image: https://khw-solutions.top/images/OnlineInstitute/1.jpg javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. [/CODE] I had doubts about the SSL certificate for my site,It does not appear in the title. so I tested it on the site: SSL Checker Use our fast SSL Checker will help you troubleshoot common SSL Certificate installation problems on your server including verifying that the correct certificate is installed, valid, and properly trusted. www.sslshopper.com The result was: The certificate should be trusted by all major web browsers (all the correct intermediate certificates are installed). And on the site: SSL Server Test (Powered by Qualys SSL Labs) A comprehensive free SSL test for your public web servers. www.ssllabs.com The result was: This site works only in browsers with SNI support. Certificate TransparencyYes (certificate)
M MikeSW17 Active Member Licensed User Longtime User Oct 9, 2021 #2 Can you try downloading image(s) from other sites to check if it is/isn't your site set-up? For example: https://www.lego.com/cdn/cs/set/assets/blte8083bf1a8f1132d/60303_alt1.jpg If it works elsewhere, your site set-up may be at fault, if it doesn't work you need to post a code snippet or better a sample project. Upvote 0
Can you try downloading image(s) from other sites to check if it is/isn't your site set-up? For example: https://www.lego.com/cdn/cs/set/assets/blte8083bf1a8f1132d/60303_alt1.jpg If it works elsewhere, your site set-up may be at fault, if it doesn't work you need to post a code snippet or better a sample project.
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2021 #3 You can skip certificate validation: https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content Upvote 0
You can skip certificate validation: https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content
khwarizmi Active Member Licensed User Longtime User Oct 10, 2021 #4 MikeSW17 said: Can you try downloading image(s) from other sites to check if it is/isn't your site set-up? For example: https://www.lego.com/cdn/cs/set/assets/blte8083bf1a8f1132d/60303_alt1.jpg If it works elsewhere, your site set-up may be at fault, if it doesn't work you need to post a code snippet or better a sample project. Click to expand... The code works fine on any other site, it seems to be the site settings. Upvote 0
MikeSW17 said: Can you try downloading image(s) from other sites to check if it is/isn't your site set-up? For example: https://www.lego.com/cdn/cs/set/assets/blte8083bf1a8f1132d/60303_alt1.jpg If it works elsewhere, your site set-up may be at fault, if it doesn't work you need to post a code snippet or better a sample project. Click to expand... The code works fine on any other site, it seems to be the site settings.
khwarizmi Active Member Licensed User Longtime User Oct 10, 2021 #5 Erel said: You can skip certificate validation: https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content Click to expand... 1. Do I apply the steps mentioned on the ImageDownloader.bas or on Starter.bas? 2. what's workstation in my website? Upvote 0
Erel said: You can skip certificate validation: https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content Click to expand... 1. Do I apply the steps mentioned on the ImageDownloader.bas or on Starter.bas? 2. what's workstation in my website?
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2021 #6 AbuElhaytham said: o I apply the steps mentioned on the ImageDownloader.bas or on Starter.bas? Click to expand... Neither. Read it carefully, it has nothing to do with the code. Upvote 0
AbuElhaytham said: o I apply the steps mentioned on the ImageDownloader.bas or on Starter.bas? Click to expand... Neither. Read it carefully, it has nothing to do with the code.