Certbot renewal script should use the configured ports, not 443/80. #216

Closed
opened 2025-11-07 08:31:23 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @georgedorn on GitHub (Apr 23, 2018).

After installing with certbot enabled, certbot always uses 443 when checking whether the cert needs renewing, even if bitwarden has been configured to run on a different port.

During bitwarden.sh install, certbot runs before the port is asked for, so it's necessary to shut down anything else running on that port during initial installation. After, every startup also runs certbot to check whether renewal is needed, and that fails as well.

A workaround for the startup problem is to edit bwdata/scripts/run.sh by hand to change the port, but bitwarden.sh update clobbers edits to that file.

Originally created by @georgedorn on GitHub (Apr 23, 2018). After installing with certbot enabled, certbot always uses 443 when checking whether the cert needs renewing, even if bitwarden has been configured to run on a different port. During `bitwarden.sh install`, certbot runs before the port is asked for, so it's necessary to shut down anything else running on that port during initial installation. After, every startup also runs certbot to check whether renewal is needed, and that fails as well. A workaround for the startup problem is to edit `bwdata/scripts/run.sh` by hand to change the port, but `bitwarden.sh update` clobbers edits to that file.
Author
Owner

@georgedorn commented on GitHub (Apr 23, 2018):

just realized this is mobile, not docker

@georgedorn commented on GitHub (Apr 23, 2018): just realized this is mobile, not docker
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#216