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

How to update the certificates? #14

Closed
EugenMayer opened this issue May 22, 2016 · 2 comments
Closed

How to update the certificates? #14

EugenMayer opened this issue May 22, 2016 · 2 comments

Comments

@EugenMayer
Copy link

How would you update the certificates retrieved, e.g. adding a subdomain? Would you create a new services for that, or remove the old stack and redo it with the addition domain?

@janeczku
Copy link
Owner

You would remove the stack, create a new letsencrypt service using the same name as "certificate name". This should update the previous certificate in Rancher's certificate store and upgrade any load balancers using the certificate. Let me know it that works for you!

@EugenMayer
Copy link
Author

It does work perfectly. what i did was

  1. exporting the configuration of the service using the gui ( as zip ) and extracting it.
  2. deleting the old stack
  3. create a new stack ( custom ) and add the rancher/docker yml file from the backup, adjusting the domains

this way its very efficient, not reentering api tokens and so on.

And yes, that worked out, the certificate has been replaced (Infrastructure->Certificates) and yes, the loadbalancer has been automatically picking it up and the new domains are working out of the box.

It works, but i would not call it very convenient :)

I used a shell to check if there are any configuration files on the container, but the one i found under /etc/letsencrypt wont allow me adding anything, AFAICs

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

No branches or pull requests

2 participants