Type Library
Revision 2014.2524
Keywords openssl, security
Availability Pro, Enterprise
Platforms Android, iOS


The OpenSSL plugin provides access to the OpenSSL library as exposed by George Zhao's lua-openssl.

The OpenSSL plugin allows you to do secure socket communication in Lua using luasec. This wraps your insecure protocol in SSL. Please refer to the samples in the GitHub repository.


Note that HTTPS requests are done more easily using network.request() — web documents shouldn't be requested using luasec.

Project Settings

To use this plugin, add an entry into the plugins table of build.settings. When added, the build server will integrate the plugin during the build phase.

settings =
    plugins =
        ["plugin.openssl"] =
            publisherId = "com.coronalabs"


Sample Code