Page 1 of 1

OBS Studio SSL support fails, only TLS (solved)

Posted: 2019/05/20 06:28:37
by odysseus
I try to connect to Facebook but they don't support TLS, only SSL.

info: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmps://live-api.facebook.com:443/rtmp/...
info: RTMP_Connect1, TLS_Connect failed: -0x7680
info: [rtmp stream: 'adv_stream'] Connection to rtmps://live-api.facebook.com:443/rtmp/ failed: -2


I have installed openssl-devel and compiled OBS with "-DUSE_SSL=ON" according to https://github.com/ewwink/OBS-with-RTMPS-SSL-TLS but it doesn't seem to say anything about SSL support in the build logs.

Any hints are appreciated!

Re: OBS Studio SSL support fails, only TLS

Posted: 2019/05/20 06:47:18
by TrevorH
I try to connect to Facebook but they don't support TLS, only SSL.
No, that's wrong. I tested using openssl s_client -connect live-api.facebook.com:443 and it connects just fine using TLS 1.2.

Re: OBS Studio SSL support fails, only TLS

Posted: 2019/05/20 07:07:17
by odysseus
OK.

But why does OBS try to connect with TLS, not SSL?

Re: OBS Studio SSL support fails, only TLS

Posted: 2019/05/20 07:30:10
by TrevorH
Because all versions of SSL are insecure and only TLS is worth using? In fact TLS 1.0 shouldn't be used either and it's strongly recommended that you only use 1.2 or higher (though CentOS 7 does not support 1.3).

Re: OBS Studio SSL support fails, only TLS

Posted: 2019/05/20 07:33:07
by odysseus
It works from here also with openssl s_client -connect live-api.facebook.com:443

I tried to compile again and I get the following warning:

CMake Warning:
Manually-specified variables were not used by the project:

USE_SSL


Is USE_SSL=ON deprecated or is there another parameter?

Edit: I changed to USE_SSL=1 and now got no warning. Still same error when connecting.

Re: OBS Studio SSL support fails, only TLS

Posted: 2019/05/20 15:53:13
by odysseus
I found a workaround on the OBS forums:

https://obsproject.com/forum/threads/un ... ost-398580