Corona SDK and Self-Signed SSL Certs

Corona SDK and Self-Signed SSL Certs

Joined: April 14th, 2018, 3:01 am

April 14th, 2018, 3:02 am #1

Corona SDK and Self-Signed SSL Certs

I have a project running locally, the backend is a laravel application and I use its APIs to push/pull data to the corona app. The laravel app has a self signed ssl cert so we can develop over https, mimicking production, however Corona Simulator doesn't seem to support self signed certs. I am getting the following error:

Corona Simulator[66572:858313] ERROR: network: network request failed:https://testapp.test/api/login [-1202: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “testapp.test” which could put your confidential information at risk.]

IS there a way to allow for self signed certs? I need https to debug the Vue front end in FireFox and Chrome, so doing away with the ssl cert is a hard pill to swallow.
Quote
Like
Share