Skip to content
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

LETSENCRYPT Automatic renew of certificate #78

Closed
c00kie55 opened this issue Jul 5, 2018 · 4 comments
Closed

LETSENCRYPT Automatic renew of certificate #78

c00kie55 opened this issue Jul 5, 2018 · 4 comments

Comments

@c00kie55
Copy link

c00kie55 commented Jul 5, 2018

Hi iam using this config an its working but does it automatic renew the certificate ?

docker run -d --name seafile
-e SEAFILE_SERVER_LETSENCRYPT=true
-e SEAFILE_SERVER_HOSTNAME=seafile.example.com
-e SEAFILE_ADMIN_EMAIL=me@example.com
-e SEAFILE_ADMIN_PASSWORD=a_very_secret_password
-v /opt/seafile-data:/shared
-p 80:80
-p 443:443
seafileltd/seafile:latest

@Maurotb
Copy link

Maurotb commented Aug 17, 2018

same problem, how to renew certificate?

@akomm
Copy link

akomm commented Oct 16, 2018

I have noticed, sadly, it does only check certificate on startup, so when you restart the container it should trigger. Not sure, why making own init script and have cron running, but not renewing certificates. Maybe a bug.

@shoeper shoeper added the bug label Oct 19, 2018
@k-rloss
Copy link

k-rloss commented Dec 3, 2018

as a workaround I'm updating the domain.crt file on my end, and placing the updated file under /opt/seafile-data/ssl
(Making sure that the domain.crt file contains both the signed cert block, as well as the intermediate cert. Simply concatenate both crt files)

Then I simply restart the docker container:
docker container restart seafile

@meldron
Copy link

meldron commented Dec 18, 2018

As a work around I call the ssl.sh script manually within the container:

./ssl.sh /shared/ssl/ domain.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants