q191201771 / lal

🔥 Golang audio/video live streaming lib/client/server. support RTMP, RTSP(RTP/RTCP), HLS, HTTP[S]/WebSocket-FLV/TS, GB28181, H264/H265/AAC/G711/OPUS, relay, cluster, record, HTTP Notify/API/UI. 直播

Home Page:https://pengrl.com/lal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] RTMP服务器发送了无效的SSL证书

ailelix opened this issue · comments

我使用acme.sh签发了Let'sEncrypt证书
I used acme.sh to sign a SSL certificate from Let'sEncrypt

并在config文件中配置了相应的.cer和.key文件
And I set up the SSL config with the generated .cer and .key file

然而OBS推流(rtmps://)提示 RTMP服务器发送了无效的SSL证书
However when I was streaming with OBS (rtmps:// link) it warned RTMP server sent invalid SSL certificate

服务器端Log如下:
Here's the log:

INFO accept a rtmp connection. remoteAddr=▯.▯.▯.▯:35742 - server.go:95
DEBUG [NAZACONN3] lifecycle new connection. net.Conn=0xc0000efc00, naza.Connection=0xc00007e000 - connection.go:193
INFO [RTMPPUBSUB3] lifecycle new rtmp ServerSession. session=0xc000007380, remote addr=▯.▯.▯.▯:35742 - server_session.go:113
DEBUG [NAZACONN3] close once. err=remote error: tls: unknown certificate authority - connection.go:509
INFO [RTMPPUBSUB3] lifecycle dispose rtmp ServerSession. err=remote error: tls: unknown certificate authority - server_session.go:549
DEBUG [NAZACONN3] Close. - connection.go:381

其它可能有用的信息:
Other information:

软件版本 Version Info
UbuntuServer 22.04 LTS
Lalserver v0.36.7
OBS 29.1.3