15.06.2020, 13:22
tls_set can fail if any of the supplied files cannot be read.
Check that the script can access them before calling tls_set:
Check that the script can access them before calling tls_set:
Code:
log(
io.exists('/data/ftp/AmazonRootCA1.pem'),
io.exists('/data/ftp/0a1b2c3d4e-certificate.pem.crt'),
io.exists('/data/ftp/0a1b2c3d4e-private.pem.key')
)