Https server and android

6 posts / 0 new
Last post
Ami603
Ami603's picture
Offline
Last seen: 5 years 11 months ago
Joined: 2011-10-11 23:11
Https server and android

Hello, i've done a small https server on AmigaOS4.1FE to serve a small Page and process the resulting POST queries, but when i connect from an android phone the first ssl_read() only returns 0 or 1 char.
The certificates i have are autosigned, and the browser complains about It, but i can Connect from Odyssey just fine, but from android i don't get the reply.

Ami603
Ami603's picture
Offline
Last seen: 5 years 11 months ago
Joined: 2011-10-11 23:11
Re: Https server and android

Seems i have the same problem when Connecting from Major browsers

broadblues
broadblues's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2012-05-02 21:48
Re: Https server and android

Perhaps you have Odyssey set to ignore SSL errors? Hence it succedes were more strict browsers refuse?

Ami603
Ami603's picture
Offline
Last seen: 5 years 11 months ago
Joined: 2011-10-11 23:11
Re: Https server and android

At some point i read something about old/deprecated encryption algorithm, so maybe new browsers doesn't support the used encryption, or my Code doesn't set Up It well.
However i can't ssl_read the browser query i can succeed ssl_write the Page i send to the browser.

PJS
PJS's picture
Offline
Last seen: 4 years 2 months ago
Joined: 2012-12-09 18:38
Re: Https server and android

Hi Ami603,

I watching and hoping you find the solution for this. I've
also had some ideas on things to do with an HTTPS server.

Are you using AmiSSL to do this?

Finally, I wanted to suggest that it would be great if you
could break out some simple sample code & commentary and
put it on the OS4 Dev Wiki!

Thanks,

PJS

Ami603
Ami603's picture
Offline
Last seen: 5 years 11 months ago
Joined: 2011-10-11 23:11
Re: Https server and android

Finally found what happened:

For some reason seems the AmiSSL installation script doesn't copy the developer includes and files, thus generating an older SSL executables, and making modern browsers complain about this.Expect some example skeleton during the next few days.

Log in or register to post comments