Sample code for 30+ languages & platforms
Lua

Certificates Examples for Lua