serf-signed ssl certs for development

I’m using network.get()/network.request() to connect to a dev/testing server that has a self-signed ssl certificate.

Is there a way to disable to checking of the valid certificate authority chain when accessing my development server? I have a valid SSL cert to use on the real server, but I’m using a self signed cert for development, and the network.request() call fails with this:

Network Error!
The certificate for this server is invalid. You might be connecting to a server that is pretending to be “mysite.dev” which could put your confidential information at risk.

[import]uid: 14461 topic_id: 33238 reply_id: 333238[/import]

There is a way to do this in both Objective-C and Java, but it doesn’t sound like it’s something that is supported in Corona based on the documentation. Perhaps someone will chime in and say otherwise, but another thing you could do is request an SSL certificate from your own CA for your server, and install the CA’s root certificate on the device manually (Both iOS and Android support this). That would allow you to establish a full trust chain in a dev environment. [import]uid: 36054 topic_id: 33238 reply_id: 132135[/import]

There is a way to do this in both Objective-C and Java, but it doesn’t sound like it’s something that is supported in Corona based on the documentation. Perhaps someone will chime in and say otherwise, but another thing you could do is request an SSL certificate from your own CA for your server, and install the CA’s root certificate on the device manually (Both iOS and Android support this). That would allow you to establish a full trust chain in a dev environment. [import]uid: 36054 topic_id: 33238 reply_id: 132135[/import]