Same problem with debian, my analysis thus far. I am stuck as well.
info: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/...
info: [rtmp stream: 'simple_stream'] Binding to IPv4
info: RTMP_Connect1, TLS_Connect failed: -0x7080
info: [rtmp stream: 'simple_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ failed: -2
Context Recap
- Problem: OBS fails with TLS_Connect failed: -0x7080 when streaming to rtmps://rtmp-api.facebook.com:443/rtmp/.
- Progress: You built a new librtmp from source, but ldd shows OBS links to /lib/x86_64-linux-gnu/librtmp.so.1 (old version 2.4+20151223).
- Certificates: Your openssl s_client -connect live-api-s.facebook.com:443 succeeded with Verify return code: 0 (ok), so Kali’s system certificate store trusts Facebook’s certs.
Your note about “Operating System certificates” from past threads aligns with a common TLS issue—OBS/librtmp might not be using the system’s certificate store correctly, or the old librtmp lacks modern TLS support (e.g., TLS 1.3, updated CA bundles).
Why Certificates Might Matter
- Historical Issues: Older threads (e.g., OBS GitHub, Kali forums) over 4-5 years often cite TLS failures due to:
- Outdated librtmp not supporting newer TLS versions or ciphers.
- OBS not loading system CA certificates properly on Linux.
- Your Case: Since openssl works but OBS fails, it’s likely librtmp’s TLS handshake (not the system’s) is the bottleneck, possibly due to certificate validation or cipher mismatch.
Step-by-Step Fix
Step 1: Force New librtmp (Redo with Confirmation)
Your LD_PRELOAD didn’t override the old librtmp. Let’s replace it directly:
- Backup Old librtmp:
bash