Scalelite error installation SSL

213 views
Skip to first unread message

Cristhian Bacusoy

unread,
Oct 10, 2023, 6:07:43 PM10/10/23
to BigBlueButton-dev
Hi, I am trying to install scalelite with this repo.

But I am facing errors when I tried to init the letsencrypt script, it's throwing this output.

grabaciones.izirooms.com
Existing data found for grabaciones.izirooms.com. Continue and replace existing certificate? (y/N) y
### Creating dummy certificate for grabaciones.izirooms.com ...
Generating a RSA private key
...+++++
......+++++
writing new private key to '/etc/letsencrypt/live/grabaciones.izirooms.com/privkey.pem'
-----

### Starting scalelite-nginx ...
Recreating postgres ... done
Recreating redis    ... done
Recreating scalelite-api ... done
Recreating scalelite-nginx ... done

### Deleting dummy certificate for grabaciones.izirooms.com ...

### Requesting Let's Encrypt certificate for grabaciones.izirooms.com ...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for grabaciones.izirooms.com

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Challenges loaded. Press continue to submit to CA.
Pass "-v" for more info about challenges.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
  Domain: grabaciones.izirooms.com
  Type:   unauthorized
  Detail: 162.251.61.243: Invalid response from https://grabaciones.izirooms.com/.well-known/acme-challenge/nSiJQ2qZpA4gkCu57gOZZqdXA8TzxZmDQhr0bsuSBmM: "<?xml version=\"1.0\"?>\n<response>\n  <returncode>FAILED</returncode>\n  <messageKey>unsupportedRequest</messageKey>\n  <message>This"

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

### Reloading scalelite-nginx ...
nginx: [emerg] cannot load certificate "/etc/nginx/ssl/live/grabaciones.izirooms.com/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/live/grabaciones.izirooms.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)


The logfile is in the logfile.txt file.

Do you guys have any idea why this happened? or some guys had face this issue?
logfile.txt

CAPTAIN ZARAKI

unread,
Oct 11, 2023, 12:27:44 AM10/11/23
to BigBlueButton-dev
Hey Christhian,
I am also facing the same issue. The issue is with init-letsencrypt.sh file :(

Cristhian Bacusoy

unread,
Oct 11, 2023, 6:42:05 PM10/11/23
to BigBlueButton-dev
Hey
I could resolve the issue generating the cert manually and then paste in /data/certbot/conf/live/.
This post in github explain it. link
But if you need the code I used, i used this docker-compose.yml file

version: '3.1'
services:
  letsencrypt:
    image: linuxserver/letsencrypt
    container_name: letsencrypt
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - URL=yourdomain.com
      - SUBDOMAINS=
      - VALIDATION=http
      - EMAIL=your...@example.com
    volumes:
      - ./config:/config
    ports:
      - 80:80
      - 443:443
    restart: unless-stopped

replace the EMAIL and URL with your email and URL, also the cert will be generate in the folder /config/ that is mapped with the volume in docker.

Anand

unread,
Apr 3, 2024, 10:49:57 PM4/3/24
to BigBlueButton-dev
Hi Cristhian Bacusoy,

I've been trying to install Scalelite using the lazy method as you for the last few days and I'm not able to make it work, did you make it work and if so could please let me know how you did it. 

Thank you,
Anand Christudas
Reply all
Reply to author
Forward
0 new messages