E ernschd Active Member Licensed User Longtime User Nov 14, 2013 #1 Hi, i try to connect to our non-public FTP-Server with SSL. First question: is it possible to add a self-signed certificate to the certificate-list by my own app? Second: Because the certificate is self-signed, i get the exception: (CertPathValidatorException) java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. Click to expand... After a research i found this entry. How can create the trust manager for the cerificate? With reflection? Code: Dim r As Reflector Dim tm As Object tm = r.CreateObject("javax.net.ssl.TrustManager") An then? Thanks.
Hi, i try to connect to our non-public FTP-Server with SSL. First question: is it possible to add a self-signed certificate to the certificate-list by my own app? Second: Because the certificate is self-signed, i get the exception: (CertPathValidatorException) java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. Click to expand... After a research i found this entry. How can create the trust manager for the cerificate? With reflection? Code: Dim r As Reflector Dim tm As Object tm = r.CreateObject("javax.net.ssl.TrustManager") An then? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Nov 15, 2013 #2 You will not be able to add it with Reflection. Can't you install this certificate on the device? Upvote 0
E ernschd Active Member Licensed User Longtime User Nov 15, 2013 #3 Hmm, i think that's too complicated for our customers. I'll have to find another way. Thank you anyway. Upvote 0
Hmm, i think that's too complicated for our customers. I'll have to find another way. Thank you anyway.