B4J Question How to use Trust all SSL Socket

jeffwu-00

Member
Licensed User
I used B4J Tutorial [Server] SSL Connections (https://www.b4x.com/android/forum/threads/server-ssl-connections.40130/) and established an https server. But my host credentials are generated using Keytool, not valid credentials. If I use httpjob.download (), I can connect to the https server normally. But if I use httpjob.PostString () I cannot connect to the https server.
I found a solution for [B4X] Trust all SSL Socket in the forum (https://www.b4x.com/android/forum/threads/b4x-trust-all-ssl-socket.101952/#content). I don't know how the B4J (Part 1) and B4A (Part 2) mentioned in the solution should be used and if there are any usage examples. Thank you.
 

inakigarm

Well-Known Member
Licensed User
Longtime User
I used B4J Tutorial [Server] SSL Connections (https://www.b4x.com/android/forum/threads/server-ssl-connections.40130/) and established an https server. But my host credentials are generated using Keytool, not valid credentials. If I use httpjob.download (), I can connect to the https server normally. But if I use httpjob.PostString () I cannot connect to the https server.
Have you seen this post ? https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content
 
Upvote 0

jeffwu-00

Member
Licensed User
Upvote 0
Top