Add ACME account to storeconfig command
Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
parent
bb29d9c8ca
commit
4ad4b8e0b8
7 changed files with 58 additions and 180 deletions
|
@ -20,12 +20,6 @@ type challengeProvider struct {
|
|||
lock sync.RWMutex
|
||||
}
|
||||
|
||||
func newMemoryChallengeProvider(store cluster.Store) *challengeProvider {
|
||||
return &challengeProvider{
|
||||
store: store,
|
||||
}
|
||||
}
|
||||
|
||||
func (c *challengeProvider) getCertificate(domain string) (cert *tls.Certificate, exists bool) {
|
||||
log.Debugf("Challenge GetCertificate %s", domain)
|
||||
if !strings.HasSuffix(domain, ".acme.invalid") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue