1
0
Fork 0

Add ACME account to storeconfig command

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2016-09-29 15:36:52 +02:00
parent bb29d9c8ca
commit 4ad4b8e0b8
No known key found for this signature in database
GPG key ID: D808B4C167352E59
7 changed files with 58 additions and 180 deletions

View file

@ -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") {