todorus/openkaart-api

SSL certificate should be auto-updated

Opened this issue · 3 comments

A docker image with Certbot is used to update the certificate. Find out how to run this once every day and check if the cert gets updated

the init script seems to work ok, but it does not create a symbolic link from the /certificates/live directory to the current certificate dir

certbot seems to make symbolic links, but not in the live directory. Modified the container script to the directory with links to the live dir, but haven't tested it yet.

TODO

  • test certbot init
  • test certbot renew/update

Thinking about treating the certificate differently from the containers and have it as a dependency of the server that Certbot should be installed