mdbraber / acmeproxy

Proxy server for ACME DNS challenges written in Go
MIT License
82 stars 20 forks source link

Storage option #3

Open Gurpartap opened 5 years ago

Gurpartap commented 5 years ago

I'll submit a PR if I do end up using acmeproxy. ;)

Being able to plug a different cert storage option[1] (s3, consul, etc.) would be helpful.

I'm currently using certmagic with consul storage[2], and considering moving certificate management to a proxy process instead.

[1] https://github.com/mholt/certmagic/wiki/Storage-Implementations

[2]

// assuming default consul api url
storage, err := storageconsul.NewConsulStorage()
if err != nil {
    return err
}

cfg.Storage = storage
mdbraber commented 5 years ago

Sounds good. I only use certmagic for the storage of acmeproxy's own SSL certificate, but as you mentioned - adding an alternative storage provider isn't too hard. Let me know if you need any help!