Ensure key is good enough for acme-dns to accept
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
This commit is contained in:
parent
240828b272
commit
d12fbc161f
@ -29,6 +29,7 @@ func TestLiveAcmeDnsPresent(t *testing.T) {
|
||||
provider, err := NewDNSProviderHostBytes(acmednsHost, acmednsAccountsJson)
|
||||
assert.NoError(t, err)
|
||||
|
||||
err = provider.Present(acmednsDomain, "", "123d==")
|
||||
// ACME-DNS requires 43 character keys or it throws a bad TXT error
|
||||
err = provider.Present(acmednsDomain, "", "LG3tptA6W7T1vw4ujbmDxH2lLu6r8TUIqLZD3pzPmgE")
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user