OpenSSL plugin issue

Hello, community members and Corona staff!

I have the problem including OpenSSL plugin in my corona project.

On this line

local openssl = require "plugin.openssl";

project crashes with error:

module ‘plugin_openssl’ not found:resource (plugin_openssl.lu) does not exist in archive
no field package.preload[‘plugin_openssl’]

no file ‘/Users/Apple/Library/Application Support/Corona/Simulator/Plugins/plugin_openssl.lua’

no file ‘/Users/Apple/Library/Application Support/luaglider2/dev/ProjectBuilds/___________(Builds)/___________(default)/___________/plugin_openssl.lua’

no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin_openssl.lua’

no file ‘/Users/Apple/Library/Application Support/Corona/Simulator/Plugins/plugin_openssl.dylib’

no file ‘./plugin_openssl.dylib’

no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin_openssl.dylib’

 

In my build.settings:

plugins = { ["plugin.openssl"] = {publisherId = "com.coronalabs"}, },

Can anybody help me to solve this issue?

 

Thanks

It sounds like there is an error in your build settings file. At least I get that kind of error when I don’t specify the plugin there.

Do you have :

settings = { plugins = { -- key is the name passed to Lua's 'require()' ["plugin.openssl"] = { -- required publisherId = "com.coronalabs", }, }, }

?

At least it looks like you don’t have a comma after “com.coronalabs”…

I am at work now but I can test it when I get home.

Thank you for answer! But unfortunately “comma” didn’t help.

Oh, it would be very good if you test it yourself ) 

It sounds like there is an error in your build settings file. At least I get that kind of error when I don’t specify the plugin there.

Do you have :

settings = { plugins = { -- key is the name passed to Lua's 'require()' ["plugin.openssl"] = { -- required publisherId = "com.coronalabs", }, }, }

?

At least it looks like you don’t have a comma after “com.coronalabs”…

I am at work now but I can test it when I get home.

Thank you for answer! But unfortunately “comma” didn’t help.

Oh, it would be very good if you test it yourself )