My android app needs to login and scrap the data under this domain name (*.nkust.edu.tw).
The problem is that I found that the certificate installation of the server is not complete (SSL Checker result). Since I am not the administrator of the server, I would like to ask if there is any way reconstruct the certification chain programmatically?
I've referenced Add Server Certificate Information to Trust Manager Android Programmatically but it seems slightly different from the problem I have.
I'm now using kotlin with ktor over http, which I know it's unsafe for passing login info, and when it comes to downloading some file like pdf, it'll throw "sun.security.provider.certpath.SunCertPathBuilderException".
Certifications (root, server, uca) can be obtained from the following URL: https://ssl2.twca.com.tw/NCWebSSL/search.htm?dns=*.nkust.edu.tw