Gitlab on VMWare no ctlscript.sh found

Type: Suggestion

Description:
I installed the actual Bitnami GitLab Container on VMWare and try to generate the letsencrypt certificate. But to generate this I have to stop the webservices regarding the docu by using the /opt/bitnami/ctlscript.sh

But there is no such file.
sudo ls -l /opt/bitnami/ shows nothing regarding these file.

Also with
sudo find / ctlscript.sh I found nothing.

So how can I stop the bitnami services to start the letscrypt tool to generate a certificate?

Any Ideas?
Thanks a lot.

Hi @marco.geyer,

Try using this command

sudo service bitnami stop

You can start the services later by using “start”. I’ll notify our documentation team to update the GitLab’s guide about how to start/stop the services.

Happy to help!


Was my answer helpful? Click on :heart:

Hi jota,
this command seems to be working at first, but the script can not present the certificate:

sudo /opt/bitnami/letsencrypt/lego --tls --email="[E-MAIL]" --domains="[DOMAIN01]" --domains=“DOMAIN02” --path="/opt/bitnami/letsencrypt" run

2021/10/13 10:12:24 Could not obtain certificates:
error: one or more domains had a problem:
[domain01] [domain02] acme: error presenting token: could not start HTTPS server for challenge: listen tcp :443: bind: address already in use

[domain01] [domain02] acme: error presenting token: could not start HTTPS server for challenge: listen tcp :443: bind: address already in use

Iam connected to the server via SSH-Putty

Also the path is different from the docu:
2021/10/13 10:12:04 Saved key to /opt/bitnami/letsencrypt/accounts/acme-v02.api.letsencrypt.org/[E-MAIL]/keys/[E-MAIL].key

insteed of
/opt/bitnami/letsencrypt/certificates/DOMAIN.key

I ve got a key for the EMail but not for the Domain.
So do you have any other ideas?

Thanks Marco

Hi @marco.geyer,

Can you try this command?

sudo service gitlab-runsvdir stop

You can use the “start” parameter to start the services later. I’ll notify our engineering team about this issue in the GitLab solution so they take a look at it.

Sorry for the inconvenience

1 Like

Hi jota,
this worked fine.

Now I can go forward to generate the certificate.
And now the system also try to generate the domain certificates.

many thanks and best regards
Marco