B4J Tutorial [Server] SSL Connections

Status
Not open for further replies.

Bladimir Carrillo

Member
Licensed User
Longtime User
Hi all,

My app was running ok, but I have updated the keystore.jks by renew certificate date expiration and I have an error. I can access ok when by http, but not by https.

url: pichincha.sismac.net/sts

Note. After error, I have tested with old keystore.jks file, by the error persists.

Thank you in advance for any help to solve it.

Error:
 

Bladimir Carrillo

Member
Licensed User
Longtime User
I don't think that it is related to the SSL key. Http2 requires some configuration. Start with disabling this feature.
After several failed attempts, I've finally been able to solve the problem. First I tried to solve it by recompiling the application with different name, but it did not work. Then I decided to configure a new server with http and https access the same as the first, I ran the application and the problem disappeared. Users can now enter the application via https without problem.

Any ideas ?
 

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 do n’t know how B4J (1st post) and B4A (2nd post) mentioned in this solution should be used. Thank you.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…