在获得Let's Encrypt证书之后,您应该配置BBB组件,比如Nginx和Freeswith,以使用HTTPS。
按照上述说明操作
here
总结如下:
1-配置FreeSWITCH以使用SSL
编辑文件/etc/bigbuebutton/nginx/sip.nginx并更改proxy\u pass行上的协议和端口,如下所示
location /ws {
proxy_pass https://203.0.113.1:7443;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_read_timeout 6h;
proxy_send_timeout 6h;
client_body_timeout 6h;
send_timeout 6h;
}
2-配置BigBlueButton以通过HTTPS加载会话
编辑/usr/share/bbb-web/web-INF/classes/bigbuebutton.properties并更新bigbuebutton.web.serverURL属性以使用HTTPS:
#----------------------------------------------------
# This URL is where the BBB client is accessible. When a user successfully
# enters a name and password, she is redirected here to load the client.
bigbluebutton.web.serverURL=https://bigbluebutton.example.com
接下来,编辑文件/usr/share/red5/webapps/screenshare/WEB-INF/screenshare.properties并将属性jnlpUrl和jnlpFile更新为HTTPS:
streamBaseUrl=rtmp://bigbluebutton.example.com/screenshare
jnlpUrl=https://bigbluebutton.example.com/screenshare
jnlpFile=https://bigbluebutton.example.com/screenshare/screenshare.jnlp
接下来,您应该执行以下命令:
$ sudo sed -e 's|http://|https://|g' -i /var/www/bigbluebutton/client/conf/config.xml
打开/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml编辑和更改:
kurento:
wsUrl: ws://bbb.example.com/bbb-webrtc-sfu
到
kurento:
wsUrl: wss://bbb.example.com/bbb-webrtc-sfu
note:
enabled: true
url: http://bbb.example.com/pad
note:
enabled: true
url: https://bbb.example.com/pad
3-接下来,修改录制的创建,以便通过HTTPS提供服务
编辑/usr/local/bigbuebutton/core/scripts/bigbuebutton.yml并按如下方式更改播放协议的值:
playback_protocol: https
4-如果已安装API演示,请编辑/var/lib/tomcat7/webapps/demo/bbb\u API\u conf.jsp并更改bigbluberbuttonurl use HTTPS的值。
// This is the URL for the BigBlueButton server
String BigBlueButtonURL = "https://bigbluebutton.example.com/bigbluebutton/";
5-最后,要应用所做的所有配置更改,必须重新启动BigBlueButton的所有组件:
$ sudo bbb-conf --restart