-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Registering letsencrypt certificates via the web interface does not work on clean installs #635
Comments
I haven't reproduced the issue yet, but speculatively, it might be because we don't seem to enforce the presence of admin's email. We could add such a check, or at least do some shell quoting to avoid messing up the arguments order:
|
andrey-utkin
added a commit
to andrey-utkin/bluecherry-apps
that referenced
this issue
Dec 19, 2023
See bluecherrydvr#635 Give pip-installed one a priority as it's more likely to be up to date, which is useful long-term as LetsEncrypt matters sometimes change on short notice.
andrey-utkin
added a commit
to andrey-utkin/bluecherry-apps
that referenced
this issue
Dec 19, 2023
See bluecherrydvr#635 Give pip-installed one a priority as it's more likely to be up to date, which is useful long-term as LetsEncrypt matters sometimes change on short notice.
Draft fix is in #638 |
andrey-utkin
added a commit
to andrey-utkin/bluecherry-apps
that referenced
this issue
Jan 4, 2024
See bluecherrydvr#635 Give pip-installed one a priority as it's more likely to be up to date, which is useful long-term as LetsEncrypt matters sometimes change on short notice.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
certbot is installed in /root/.local/bin/certbot but the scripts are calling 'certbot'.
Command line of how I resolved this:
root@v3demo:~/.local/bin# ./certbot certonly --non-interactive --agree-tos --work-dir=/tmp --logs-dir=/tmp --config-dir=/usr/share/bluecherry/nginx-includes/letsencrypt/ --dns-subdomain-provider-credentials /tmp/dns-subdomain-credentials.ini -m [email protected] --authenticator dns-subdomain-provider -d demo.bluecherry.app
Saving debug log to /tmp/letsencrypt.log
Requesting a certificate for demo.bluecherry.app
Unsafe permissions on credentials configuration file: /tmp/dns-subdomain-credentials.ini
Waiting 10 seconds for DNS changes to propagate
Successfully received certificate.
Certificate is saved at: /usr/share/bluecherry/nginx-includes/letsencrypt/live/demo.bluecherry.app/fullchain.pem
Key is saved at: /usr/share/bluecherry/nginx-includes/letsencrypt/live/demo.bluecherry.app/privkey.pem
This certificate expires on 2024-03-07.
These files will be updated when the certificate renews.
NEXT STEPS:
If you like Certbot, please consider supporting our work by:
The text was updated successfully, but these errors were encountered: