bbb-install icon indicating copy to clipboard operation
bbb-install copied to clipboard

ubuntu.bigbluebutton.org Certificate Expired

Open aogilvie opened this issue 7 years ago • 16 comments

wget https://ubuntu.bigbluebutton.org/bbb-install.sh
--2019-10-23 07:58:52--  https://ubuntu.bigbluebutton.org/bbb-install.sh
Resolving ubuntu.bigbluebutton.org (ubuntu.bigbluebutton.org)... 167.99.180.121
Connecting to ubuntu.bigbluebutton.org (ubuntu.bigbluebutton.org)|167.99.180.121|:443... connected.
ERROR: cannot verify ubuntu.bigbluebutton.org's certificate, issued by ‘CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US’:
  Issued certificate has expired.
To connect to ubuntu.bigbluebutton.org insecurely, use `--no-check-certificate'.

If you are using similar scripts to lets encrypt cert setup with bigbluebutton, as we discussed already, the post hook to restart nginx might not be triggering (although in this case I am not referring to your repo server).

aogilvie avatar Oct 23 '19 08:10 aogilvie

Thanks for pointing this out -- we've renewed the certificate on https://ubuntu.bigbluebutton.org/.

If you are using similar scripts to lets encrypt cert setup with bigbluebutton, as we discussed already, the post hook to restart nginx might not be triggering (although in this case I am not referring to your repo server).

We did some work on this over the weekend. In bbb-install.sh, we added --deploy-hook "systemctl restart nginx" to the certbot command.

See https://github.com/bigbluebutton/bbb-install/blob/master/bbb-install.sh#L684

If you run the above command manually for your server (provide the $HOST name), it will renew your certificate and in the associated configuration file for your host, such as for bbb.example.com

  /etc/letsencrypt/renewal/bbb.example.com.conf

You should now see

renew_hook = systemctl restart nginx

certbot already uses a systemd timer to poll for renewal, so we removed the creation of the cron job.

If you can try the above Ally and let us know if on your BigBlueButton server you see the renew_hook command in the configuration file for your server.

ffdixon avatar Oct 23 '19 12:10 ffdixon

Hey, Thank you ffdixon for the fast support and the great work on bbb!

andycgn42 avatar Oct 23 '19 12:10 andycgn42

The R3 intermediate cert of ubuntu.bigbluebutton.org is again expired "Fri, 16 Jul 2021 02:22:50 GMT"

AlphaDE avatar Jul 16 '21 07:07 AlphaDE

We've renewed the certificate for ubuntu.bigbluebutton.org (sorry about that). Checking to see why the auto-renewal didn't work.

ffdixon avatar Jul 16 '21 11:07 ffdixon

@ffdixon Thx for that. It does work. Don't you use some monitoring for that, usually (at least for my certs) the renewal is 30 days ahead of the expiration leaving enough time to react (if there's some monitoring)

AlphaDE avatar Jul 16 '21 11:07 AlphaDE

Agreed. We'll put monitoring in place so this doesn't happen again (https://geekflare.com/monitor-ssl-certificate-expiry/).

ffdixon avatar Jul 16 '21 11:07 ffdixon

UPDATE:

I tried this and worked: https://github.com/bigbluebutton/bbb-install/issues/432

Now everything is working fine with my BBB servers.


Hello. this afternoon this problem appeared on all my BBB servers: Server Error Invalid BigBlueButton Endpoint and Secret.

When I tried to renew the certificate but nothing happens.

I followed this steps: https://docs.bigbluebutton.org/2.2/install.html#using-lets-encrypt but says that ubuntu.bigbluebutton.org Certificate has Expired. So I don't know if it is working properly.

And when I run docker run --rm --env-file .env bigbluebutton/greenlight:v2 bundle exec rake conf:check

Checking environment: Passed Checking Connection: Failed Error connecting to BigBlueButton server - SSL_connect returned=1 errno=0 state= SSLv3 read server certificate B: certificate verify failed (certificate has expired)

My certificates are updated but the error remains, so... just asking if it has somwthing to do with ubuntu.bigbluebutton.org certificate ???

carlosr279 avatar Sep 30 '21 18:09 carlosr279

Hello.

Got the same error yesterday. Server error Check BigBlueButton Endpoint and Secret.

Checking environment: Passed Checking Connection: Failed Error connecting to BigBlueButton server - SSL_connect returned=1 errno=0 state= SSLv3 read server certificate B: certificate verify failed (certificate has expired)

Managed to solve the problem?

Palubas avatar Oct 01 '21 08:10 Palubas

Do you guys use Let's Encrypt certificates? The old root certs used by Let's Encrypt (IdentTrust DST Root CA X3) expired as of 9/30 and that caused various issues on my server because the trust chain contained valid and expired certs. Perhaps that's the reason for the trouble?

AlphaDE avatar Oct 01 '21 09:10 AlphaDE

Yes, I am using Let's Encrypt. I found how to solve this problem. Thanks everyone

Palubas avatar Oct 01 '21 09:10 Palubas

Hello @Palubas , Please could you share in details how you solve your issue ? Thanks in advance

gilPts avatar Oct 01 '21 10:10 gilPts

Credit for [email protected] and emadbagheri96

sudo apt-get remove certboat
sudo apt-get install snapd
sudo snap install --classic certbot
sudo certbot renew --force-renewal --cert-name mybbb.server.com --preferred-chain "ISRG Root X1"
sudo /etc/init.d/nginx restart 

coffeduong avatar Oct 01 '21 16:10 coffeduong

I found a solution too, talking to rg305 on the Let's Encrypt Community (thanks!) and I think it is worth to share: on the server

  • run "dpkg-reconfigure ca-certificates" and uncheck the old C.A. "mozilla/DST_Root_CA_X3.crt"
  • edit "/etc/letsencrypt/live/bbb.example.com/fullchain.pem" with nano or similar editor and delete the last certificate -----BEGIN CERTIFICATE----- BLAHBLAHBLAH -----END CERTIFICATE-----
  • restart nginx with "sudo /etc/init.d/nginx restart"

I hope this will help.

dr-jkl avatar Oct 05 '21 21:10 dr-jkl

Thanks, those helps :)

gilPts avatar Oct 06 '21 07:10 gilPts

  • etc/letsencrypt/live

Thanks, works for me!

rafaelscala05 avatar Oct 07 '21 15:10 rafaelscala05

Thank you dr-jkl I did exactly what you said and it worked !

Entretoize avatar Oct 20 '21 07:10 Entretoize