Hello,
Thanks for posting your progress. I'm also trying to setup BBB with an
ssl connection. Local connections on the server itself may be open,
but all connections from the client to the server should be running
over ssl. I managed to get the basic BBB up and running with nginx as
SSL proxy. Deskshare and presentation upload is not working the way it
should. And I also couldn't check the webcam since i do not have one
here.
I'll try to summarize my steps below. Hope I don't forget anything :)
had been playing around with the config files for quite a while. First
time that I'm using nginx, red5 or tomcat.. :)
(replace IP and domain with correct values.. xx.xx.xx.xx,
conference.domain.com used as placeholders)
1) set up an ssl proxy in nginx:
/etc/nginx/sites-available/bigbluebutton
# forwarding http to https
# to make sure https is used as default
server {
add_header Cache-Control public;
access_log /var/log/nginx/bigbluebutton-http.access.log;
error_log /var/log/nginx/bigbluebutton-http.error.log;
expires 90d;
listen 80;
root /var/empty;
server_name xx.xx.xx.xx
conference.domain.com;
add_header Strict-Transport-Security max-age=2592000;
location / {
if ($host ~* ^(xx\.xx\.xx\.xx|conference\.domain\.com)
$ ){
rewrite ^/(.*)$
https://conference.domain.com/$1
permanent;
}
return 444;
}
}
# ssl proxy for http
# (i changed the http servers default port from 80 to 60080)
server {
listen 443 default ssl;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
server_name xx.xx.xx.xx
conference.domain.com;
access_log /var/log/nginx/bigbluebutton.proxy.access.log;
error_log /var/log/nginx/bigbluebutton.proxy.error.log;
location / {
proxy_pass
http://127.0.0.1:60080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_redirect default;
include fastcgi_params;
}
}
2) I used the create.jsp demo as basis and replaced http:// with https://
3) changes to bbb_api_conf.jsp:
BBB URL to
https://conference...
4) changes to bbb_api.jsp:
This is what helped me to get past the null pointer exception.
change the following methods to use
http://localhost:8080/bigbluebutton/
instead of the BigBlueButtonURL parameter:
getJoinURL()
isMeetingRunning()
endMeeting()
Since those are local connections, I don't mind the missing
encryption.
5) changes to config.xml:
replaced all http with
https://conference...
replaced all rtmp with rtmps://xx.xx.xx.xx
Somehow using the domain instead of the IP for rtmps did not work. The
client says that all modules were loaded 100%, but the conference
itself did not start. But I'd guess that is a problem with my nginx
forwarding.
6) red5 .. bigbluebutton.properties
this should be: ami.host = 127.0.0.1
(but i think that was the standard value..? )
With that, the basic conference started and people were able to join.
Now I'm stuck with these problems: Trying to upload a presentation
results in an IOError #2038, which seems to be a very generic error
generated by flash. The deskshare is working, but as far as I could
tell, no encryption is used. I guess for that the applet needs to be
changed...?
Hope this helps a bit. Will post when I find out more. Any tips
regarding the presentation upload (or security problems i might have
caused..) would be very welcome :)
Thanks!
Jan
On 9 Sep., 08:43, Orson Kwan <
orson.k...@gmail.com> wrote:
> I finally was able to setup SSL on the Red5 server, that is I can
> accesshttps://localhost:8443/with the certificate working fine
> > > >> +Meeting&attendeePW=ap&moderatorPW=mp&voiceBridge=74829&checksum=605036f3c89c98e557e345ca2e3f7c6e5b149f43
> > > >> HTTP/1.1"
>
> > > >> *6 open() "/var/www/nginx-default/bigbluebutton/api/create" failed (2:
> > > >> No such file or directory), with the request: "GET /bigbluebutton/api/
> > > >> create?name=Demo+Meeting&meetingID=Demo
>
> > > >> +Meeting&attendeePW=ap&moderatorPW=mp&voiceBridge=74829&checksum=605036f3c89c98e557e345ca2e3f7c6e5b149f43
> > > >> HTTP/1.1",
>
> > > >> I am assuming that the client/host values are correct, as this works
> > > >> on normal HTTP (port 80). So let me know if there is anything I can
> > > >> take from the above errors from my logs.
>
> > > >> I have fixed the above error with reinstalling BBB with the blank
> > > >> value for bbb-webhost when I run bbb-conf --check.
>
> > > >> Thanks in advance,
> > > >> Orson
>
> > > >> --
> > > >> You received this message because you are subscribed to the Google Groups
> > > >> "BigBlueButton-Setup" group.
> > > >> To post to this group, send email to
bigbluebu...@googlegroups.com
> > > >> .
> > > >> To unsubscribe from this group, send email to
> > > >>
bigbluebutton-s...@googlegroups.com<bigbluebutton-setup%2Bunsu
bsc...@googlegroups.com>
> > > >
bigbluebutton-s...@googlegroups.com<bigbluebutton-setup%2Bunsu
bsc...@googlegroups.com>