CausticLab / rgon-proxy

the base image of the rancher nginx-letsencrypt proxy
5 stars 1 forks source link

Import-LE from volume #20

Open emcniece opened 7 years ago

emcniece commented 7 years ago

As mentioned by a beta tester, it would be nice to be able to take advantage of acmetool import-le on startup. This could be volumed, and if the volume is present then entrypoint.sh could execute the command.

Munsio commented 7 years ago

In order to import existing LE certs you have to store them into a an special manner in an special folder described under "accounts" - https://github.com/hlandau/acme/blob/master/_doc/SCHEMA.md#accounts

I currently don't know if this "account" structure is something that "all" of the other cert issuing clients are using so maybe there is manual action needed to be able to import this.

Also we have the problem that we can't volume this folder cause of overwritting. As far as i understand this SCHEMA everytime you issue an cert witch acmetool such an "account" structure gets created.