Nginx not working after setting up HTTPS

464 views
Skip to first unread message

abdul waheed

unread,
Feb 13, 2017, 5:10:11 PM2/13/17
to BigBlueButton-dev
Hi, 

My server was working find including Webrtc, after setting up https, then Nginx is not working

Here error output 

bbb-conf --debug

-- Errors found in /var/log/nginx/error.log --
2017/02/13 13:13:03 [error] 9177#0: *9 open() "/var/www/bigbluebutton-default/html5client/check" failed (2: No such file or directory), client: 58.65.152.94, server: 216.244.77.170, request: "GET /html5client/check HTTP/1.1", host: "216.244.77.170", referrer: "http://216.244.77.170/client/BigBlueButton.html"
2017/02/13 13:16:14 [error] 11122#0: *18 open() "/var/www/bigbluebutton-default/html5client/check" failed (2: No such file or directory), client: 58.65.152.94, server: class.quranteaching.com, request: "GET /html5client/check HTTP/1.1", host: "class.quranteaching.com", referrer: "http://class.quranteaching.com/client/BigBlueButton.html"
2017/02/13 13:16:31 [error] 11122#0: *4 open() "/var/www/bigbluebutton-default/html5client/check" failed (2: No such file or directory), client: 58.65.152.94, server: class.quranteaching.com, request: "GET /html5client/check HTTP/1.1", host: "class.quranteaching.com", referrer: "http://class.quranteaching.com/client/BigBlueButton.html"
2017/02/13 13:20:53 [error] 11126#0: *54 open() "/var/www/bigbluebutton-default/html5client/check" failed (2: No such file or directory), client: 58.65.152.94, server: class.quranteaching.com, request: "GET /html5client/check HTTP/1.1", host: "class.quranteaching.com", referrer: "http://class.quranteaching.com/client/BigBlueButton.html"
2017/02/13 13:30:36 [emerg] 13140#0: BIO_new_file("/etc/nginx/ssl/bigbluebutton.example.com.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/bigbluebutton.example.com.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2017/02/13 13:34:18 [emerg] 1167#0: BIO_new_file("/etc/nginx/ssl/bigbluebutton.example.com.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/bigbluebutton.example.com.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2017/02/13 14:03:03 [emerg] 2836#0: BIO_new_file("/etc/nginx/ssl/bigbluebutton.example.com.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/bigbluebutton.example.com.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2017/02/13 14:04:19 [emerg] 2870#0: BIO_new_file("/etc/nginx/ssl/bigbluebutton.example.com.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/bigbluebutton.example.com.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)


bbb-conf --check

# Not Running:  Nginx
# Error: Could not connect to the configured hostname/IP address

From Nginx output above, it looks like it's still looking for 'bigbluebutton.example.crt' EVEN I changed file name to my domain name. 

Also, I performed all steps required for https. 


Regards, 
Abdul


Chad Pilkey

unread,
Feb 13, 2017, 5:34:11 PM2/13/17
to BigBlueButton-dev
The most likely problem is that you used "bigbluebutton.example.crt" in your nginx server setting instead of changing it to the path for your actual file.

abdul waheed

unread,
Feb 13, 2017, 5:35:23 PM2/13/17
to BigBlueButton-dev
On Correct

Actually I changed file names but forgot to change in " /etc/nginx/sites-available/bigbluebutton" 

Now I'm getting this error

"
2017/02/13 14:22:23 [emerg] 5402#0: PEM_read_bio_X509_AUX("/etc/nginx/ssl/class.......com.crt") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
2017/02/13 14:29:07 [emerg] 6741#0: PEM_read_bio_X509_AUX("/etc/nginx/ssl/class.......com.crt") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)



Chad Pilkey

unread,
Feb 13, 2017, 5:41:18 PM2/13/17
to BigBlueButton-dev
Googling the error gets me a bunch of blog posts like this one, https://drewsymo.com/2016/05/09/fixing-pem-routinespem_read_biobad-end-line-error/

abdul waheed

unread,
Feb 14, 2017, 4:59:14 PM2/14/17
to BigBlueButton-dev
Hi, 

My problem is resolved after removing 'END' , and no extra line between all certificates. 


Thank you Chad Pilkey  for pointing me to the right direction. 

Regards, 

Abdul
Reply all
Reply to author
Forward
0 new messages