Self-signed certificate support

25 views
Skip to first unread message

Ivan

unread,
Mar 11, 2020, 6:50:09 AM3/11/20
to CodenameOne Discussions
Hi guys, I cannot find clear answer if CN1 apps support self-signed server certificates.
I need to use app inside company against the server with private IP only (on LAN)
I found some documentation how to make device trust to self-signed certificate but cannot make it working with CN1 app.

Is it possible to setup CN1 app on iOS (and Adnroid) working with server installed with self-signed SSL certificate?

thanks

Shai Almog

unread,
Mar 11, 2020, 10:19:23 PM3/11/20
to CodenameOne Discussions
Hi,
no it isn't possible at this time.
You can use regular HTTP in such a case and manually encrypt your communications.

Ivan

unread,
Mar 12, 2020, 5:11:58 AM3/12/20
to CodenameOne Discussions
how do you mean it pls? iOS is mandatory to use only HTTPS requests, how can I achieve it with manual encryption?

Shai Almog

unread,
Mar 13, 2020, 12:28:11 AM3/13/20
to CodenameOne Discussions

Ivan

unread,
Mar 13, 2020, 5:06:50 AM3/13/20
to CodenameOne Discussions
Reply all
Reply to author
Forward
0 new messages