~/talk

Drive-by SSL certificate creation with nginx

Talkat FrOSCon 2015 · 2015-08-22..08-23· [security]
slides:none on file

Demonstrates nginx+Lua producing real SSL certificates on the fly: Lua + OpenSSL APIs generate keypairs, build CSRs, sign with a local CA, and inject cert/key into nginx’s SSL context using the Cloudflare-contributed patch. Build uses OpenResty/LuaJIT, a patched nginx core and nonblocking cosockets for backend calls. Demo runs in Vagrant, validates via SNI and a locally trusted CA, and works, though per-request cert issuance is slow and required fixes (OpenSSL serial handling, config reload hygiene). Uses OpenResty and shows pitfalls of ad hoc generation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Why nginx
  3. 3:25About nginx
  4. 5:05nginx is like Batman
  5. 6:48Thirdparty modules
  6. 9:27Lua
  7. 14:04Lua cheat
  8. 16:44nginx Lua
  9. 19:36nginx configuration
  10. 20:09nginx development
  11. 21:09nginx Lua API
  12. 24:48nginx capture
  13. 27:03nonblocking socket
  14. 27:59UDP connection
  15. 29:13Work offload
  16. 30:47Capture CoSocket
  17. 31:46OpenResi make
  18. 32:59OpenResi modules
  19. 33:40OpenResi testing
  20. 34:04Lua Rocks
  21. 34:26Get used to it
  22. 34:36kongkong
  23. 37:00crime prevention
  24. 37:42SSL by Lua
  25. 38:04OpenResi patch
  26. 39:24Cloudfair
  27. 41:20Demo
  28. 46:49Code
  29. 49:08Certificate request
  30. 50:53Certificate creation
  31. 53:09C code issues
  32. 53:22Secure Secure
  33. 53:50Tips Tricks
  34. 57:20Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.