J jeffwu-00 Member Licensed User Mar 16, 2020 #1 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.
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.
I inakigarm Well-Known Member Licensed User Longtime User Mar 16, 2020 #2 jeffwu-00 said: 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. Click to expand... Have you seen this post ? https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content Upvote 0
jeffwu-00 said: 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. Click to expand... Have you seen this post ? https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content
J jeffwu-00 Member Licensed User Mar 17, 2020 #3 inakigarm said: Have you seen this post ? https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content Click to expand... Hi, Inakigarm Thank you for the solution, I will try. Upvote 0
inakigarm said: Have you seen this post ? https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content Click to expand... Hi, Inakigarm Thank you for the solution, I will try.
J jeffwu-00 Member Licensed User Mar 19, 2020 #4 inakigarm said: Have you seen this post ? https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content Click to expand... Hi Inakigarm, I used my own certificate to test these methods and still couldn't use httpjob.poststring. Later, I purchased and applied for a formal website SSL certificate, and I was able to connect and obtain information about the host normally. Thank you very much for your reference information, and I wish you all the best. Upvote 0
inakigarm said: Have you seen this post ? https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content Click to expand... Hi Inakigarm, I used my own certificate to test these methods and still couldn't use httpjob.poststring. Later, I purchased and applied for a formal website SSL certificate, and I was able to connect and obtain information about the host normally. Thank you very much for your reference information, and I wish you all the best.