Closed victorb closed 6 years ago
@VictorBjelkholm Wouldn't it be possible to use acme.sh and a dns challenge instead? https://github.com/Neilpang/acme.sh/tree/master/dnsapi#25-use-dnsimple-api
Yeah. We currently have two different infrastructures running, the one available here and one that is about to get open sourced, but we're not quite there. For the future, we definitely want something that's automatic to renew the certificates, probably nginx + acme-nginx or something like that. But for now, I think time is spent more wisely just going through the manual steps...
@VictorBjelkholm can this be closed now with your recent update to the README?
@VictorBjelkholm I've written an acme.sh wrapper that might make it easier to use acme.sh for that purpose: https://github.com/mkg20001/mkg-infra/blob/master/ssl/tool.sh
This tool would allow completly automated renewals with literally just one command: ./tool.sh renew
Only changes required to the script to be useable for IPFS would be replacing dns_cf
with dns_dnsimple
and editing/removing the genconf
subcommand.
About security: If account.conf is added to .gitignore this won't leak any dns tokens into the repo, only the account keys for letsencrypt, but they can be added to .gitignore, too, so only the certs land in the repo.
(Edit: Of course this is just a suggestion, feel free to decline)
Closing this one as it's not applicable anymore.
Reminder to self for when this needs to be done again: