This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

MQTT lib references? enable TLS for use with AWS
#11
(23.11.2018, 19:18)Erwin van der Zwart Wrote: Hi,

In folders or direct on root?

BR,

Erwin

folders exactly as i mention..

I had to create these folders path is /home/ftp/

i just tested again and its the same also i have to change directorys with cd in the FTP terminal....

the code looks like this....

Code:
broker = 'awsarn'
cafile = '/home/ftp/cafile.crt'
certfile = '/home/ftp/cert.crt'
keyfile = '/home/ftp/private.key'
client:tls_set(cafile, nil, certfile, keyfile)
--client:login_set("undefine",jwt) --GCS not working also
client:connect(broker,8883)
Reply


Messages In This Thread
RE: MQTT lib references? enable TLS for use with AWS - by juanpalf - 23.11.2018, 19:24

Forum Jump: