josegonzalez / dokku-global-cert

allows setting a global certificate for applications
MIT License
20 stars 6 forks source link

apply global cert to existing app #7

Open AubreyHewes opened 3 years ago

AubreyHewes commented 3 years ago

It should be possible to apply a global cert to an existing app.

Currently a global cert is only applied to new apps.

So something like global-cert:apply <app> should apply the default global cert to the given app. This would also overwrite a possible other cert on the app.

For example:

app1 has an le-cert (dokku-letsencrypt) but I want to apply the global cert. Currently this would entail manual steps; removing the tls files and copying/symlinking from the global-cert

Usable PR depends on https://github.com/josegonzalez/dokku-global-cert/pull/4