Https (SSL) - certificates

moster67

Expert
Licensed User
Longtime User
With the latest beta (giving us the possibility to open the browser with an URL and to open a video), I believe I have everything I need to port a WinMo-application of mine to Android except for one minor thing:

Https (SSL)-connections seem to already work although I have problems with Certificates non being trusted and thus not being accepted. I get this error-message:

javax.net.ssl.SSLException: Not trusted server certificate

With Basic4PPC, you resolved that problem nicely with your library CertificatePolicy (see your post: http://www.b4x.com/forum/21819-post5.html).

Any chance that you can put this on your "to-do-list" and implement something similar in B4A? Here is web-page which mentions (I believe) possible approaches like your CertificatePolicy-library: Https Connection Android - Stack Overflow.

Thanks!
 

MotoMusher

Active Member
Licensed User
Longtime User
I was wondering if this was ever resolved, especially in httputils2?

I am receiving the following and would like to place an exceptions somehow

Error: javax.net.ssl.SSLException: Not trusted server certificate

Thanks
 
Upvote 0
Top