Always set nbf and naf for new ACME orders ...
- Use the default value from the ACME provisioner if values are not defined in the request.
This commit is contained in:
parent
2bc69d3edd
commit
6e69f99310
10 changed files with 220 additions and 26 deletions
|
@ -244,7 +244,11 @@ func TestHandlerGetNonce(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestHandlerGetDirectory(t *testing.T) {
|
||||
auth, err := acme.NewAuthority(new(db.MockNoSQLDB), "ca.smallstep.com", "acme", nil)
|
||||
auth, err := acme.New(nil, acme.AuthorityOptions{
|
||||
DB: new(db.MockNoSQLDB),
|
||||
DNS: "ca.smallstep.com",
|
||||
Prefix: "acme",
|
||||
})
|
||||
assert.FatalError(t, err)
|
||||
|
||||
prov := newProv()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue