~/talk

OpenSSL Integration in .NET - The Good and the Challenging

Talkat OpenSSL Conference Prague 2025 · 2025-10-07..10-09· [dotnet, security]
links:none on file
slides:none on file

.NET uses the system TLS libraries on Linux and the integration is a handmade dynamic loader that uses dlopen with function probing and a big macro list of required, optional and fallback polyfill headers so one binary can work with OpenSSL 1.1, 3.x and interim builds. The code handles renamed APIs, supplies missing functions, and even supports loading two OpenSSL versions in one process; a subtle ARM32 bug from 32 vs 64-bit flags and widespread malloc arena fragmentation from repeated CRL parsing are real failures found and partially mitigated.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:13.NET on Linux and OpenSSL
  3. 5:56SChannel vs OpenSSL differences
  4. 10:16Building .NET for Linux distributions
  5. 15:55Platform Access Layer and OpenSSL
  6. 16:36Loading OpenSSL dynamically
  7. 18:22Handling OpenSSL function pointers
  8. 20:10Required, fallback and legacy functions
  9. 23:06Legacy algorithm bridging
  10. 24:10Compiling against older headers
  11. 25:57Common integration issues
  12. 26:18ARM32 calling convention bug
  13. 29:11Fixing parameter passing issues
  14. 29:32Loading multiple OpenSSL versions
  15. 31:39QUIC protocol and OpenSSL fork
  16. 33:09Memory usage with large CRLs
  17. 35:57Memory fragmentation problem
  18. 37:00Async programming impact
  19. 39:27Maloc trim limitations
  20. 40:08Caching certificate revocation lists
  21. 40:50Q&A on .NET Framework support
  22. 42:41Supported Linux distributions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.